1
1
Fork 0
nixos/options/custom/settings/dconf/default.nix
Myned 6e3a046918
dconf: guard with enable instead of default
Signed-off-by: Myned <dev@bjork.tech>
2025-01-01 11:46:58 -06:00

16 lines
294 B
Nix

{
config,
lib,
...
}:
with lib; let
cfg = config.custom.settings.dconf;
in {
options.custom.settings.dconf.enable = mkOption {default = false;};
config.custom.settings.dconf = mkIf cfg.enable {
apps.enable = true;
gnome.enable = true;
gnome-shell.enable = true;
};
}