1
1
Fork 0

dconf: guard with enable instead of default

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-01-01 11:46:58 -06:00
parent 8bbf31a916
commit 6e3a046918
Signed by: Myned
GPG key ID: C7224454F7881A34
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -16,7 +16,7 @@ with lib; {
})
(mkIf config.custom.minimal {
dconf.default = true;
dconf.enable = true;
fonts.enable = true;
gtk.enable = true;
qt.enable = true;