dconf: guard with enable instead of default
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
8bbf31a916
commit
6e3a046918
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue