mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2025-01-06 16:14:17 +00:00
feat(forgejo): Add a defaultTheme option
This commit is contained in:
parent
094d9d1887
commit
960f4a3897
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue