feat(forgejo): Add a defaultTheme option

This commit is contained in:
Inex Code 2024-07-23 02:34:57 +03:00
parent 094d9d1887
commit 960f4a3897

View file

@ -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 {