Files
cnix/modules/home/services/dconf/default.nix
2025-08-29 15:25:40 +02:00

27 lines
419 B
Nix

{
config,
lib,
...
}:
let
inherit (lib) types mkOption;
cfg = config.home.services.dconf;
in
{
options = {
home.services.dconf.settings.color-scheme = mkOption {
type = types.str;
default = "prefer-dark";
};
};
config = {
dconf = {
settings = {
"org/gnome/desktop/interface" = {
color-scheme = cfg.settings.color-scheme;
};
};
};
};
}