add descriptions

This commit is contained in:
Inex Code 2024-08-09 14:52:12 +03:00
parent 08bf054557
commit fc670d8033

View file

@ -12,13 +12,16 @@ in
enable = lib.mkOption { enable = lib.mkOption {
default = false; default = false;
type = lib.types.bool; type = lib.types.bool;
description = "Enable the forgejo module";
}; };
location = lib.mkOption { location = lib.mkOption {
type = lib.types.str; type = lib.types.str;
description = "The location to store the forgejo data";
}; };
subdomain = lib.mkOption { subdomain = lib.mkOption {
default = "git"; default = "git";
type = lib.types.strMatching "[A-Za-z0-9][A-Za-z0-9\-]{0,61}[A-Za-z0-9]"; type = lib.types.strMatching "[A-Za-z0-9][A-Za-z0-9\-]{0,61}[A-Za-z0-9]";
description = "Subdomain";
} // { } // {
meta = { meta = {
widget = "subdomain"; widget = "subdomain";
@ -28,10 +31,12 @@ in
appName = lib.mkOption { appName = lib.mkOption {
default = "SelfPrivacy git Service"; default = "SelfPrivacy git Service";
type = lib.types.str; type = lib.types.str;
description = "The name displayed in the web interface";
}; };
enableLfs = lib.mkOption { enableLfs = lib.mkOption {
default = true; default = true;
type = lib.types.bool; type = lib.types.bool;
description = "Enable large file storage";
}; };
forcePrivate = lib.mkOption { forcePrivate = lib.mkOption {
default = false; default = false;