From 960f4a3897c6f070670016ddd1bdc9ab9fc097d6 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Tue, 23 Jul 2024 02:34:57 +0300 Subject: [PATCH] feat(forgejo): Add a defaultTheme option --- 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 3a1deb9..0a23902 100644 --- a/sp-modules/gitea/module.nix +++ b/sp-modules/gitea/module.nix @@ -43,6 +43,11 @@ in type = lib.types.bool; description = "Require signin to view any page"; }; + defaultTheme = lib.mkOption { + default = "forgejo-auto"; + type = lib.types.enum [ "forgejo-auto" "forgejo-light" "forgejo-dark" "auto" "gitea" "arc-green" ]; + description = "The default theme for the gitea instance"; + }; }; config = lib.mkIf cfg.enable {