fix(dconf): add default option
This commit is contained in:
parent
7938019d55
commit
1587266070
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue