From fc670d8033fc647b2aa755854b77ba977a948803 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Fri, 9 Aug 2024 14:52:12 +0300 Subject: [PATCH] add descriptions --- sp-modules/gitea/module.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sp-modules/gitea/module.nix b/sp-modules/gitea/module.nix index fe88b3c..e537592 100644 --- a/sp-modules/gitea/module.nix +++ b/sp-modules/gitea/module.nix @@ -12,13 +12,16 @@ in enable = lib.mkOption { default = false; type = lib.types.bool; + description = "Enable the forgejo module"; }; location = lib.mkOption { type = lib.types.str; + description = "The location to store the forgejo data"; }; subdomain = lib.mkOption { default = "git"; type = lib.types.strMatching "[A-Za-z0-9][A-Za-z0-9\-]{0,61}[A-Za-z0-9]"; + description = "Subdomain"; } // { meta = { widget = "subdomain"; @@ -28,10 +31,12 @@ in appName = lib.mkOption { default = "SelfPrivacy git Service"; type = lib.types.str; + description = "The name displayed in the web interface"; }; enableLfs = lib.mkOption { default = true; type = lib.types.bool; + description = "Enable large file storage"; }; forcePrivate = lib.mkOption { default = false;