diff --git a/hosts/shared/dconf.nix b/hosts/shared/dconf.nix index 10db9ae..6e45fea 100644 --- a/hosts/shared/dconf.nix +++ b/hosts/shared/dconf.nix @@ -9,10 +9,13 @@ in { options.alqueva.system.dconf = { enable = lib.mkEnableOption "configuration with DConf"; luminosity = lib.mkOption { - type = types.enum ["dark" "light"]; + type = types.enum ["dark" "light" "default"]; default = "dark"; description = "The luminosity you want to use for GTK."; - apply = lum: "prefer-${lum}"; + apply = lum: + if lum == "default" + then lum + else "prefer-${lum}"; }; theme = lib.mkOption { type = types.str;