mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-22 19:41:30 +00:00
add descriptions
This commit is contained in:
parent
08bf054557
commit
fc670d8033
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue