nix/module/desktop/Dconf.nix

18 lines
479 B
Nix
Raw Normal View History

2024-06-25 04:04:39 +03:00
{ util, lib, config, ... } @args: with lib; let
cfg = config.module.desktop.dconf;
2024-05-12 02:40:37 +03:00
settings = util.catSet (util.ls ./dconf) args;
2024-04-06 03:03:58 +03:00
in {
2024-06-25 04:04:39 +03:00
options = {
module.desktop.dconf.enable = mkEnableOption "Dconf.";
};
config = mkIf cfg.enable {
# Gnome DE and GTK apps configuration.
programs.dconf.enable = true;
programs.dconf.profiles.user = {
enableUserDb = true; # Delete `~/.config/dconf/user` to reset user settings.
databases = [{ inherit settings; }];
};
2024-03-28 07:51:33 +03:00
};
}