diff --git a/modules/misc/dconf.nix b/modules/misc/dconf.nix index 476b61dd2..e8a04de0a 100644 --- a/modules/misc/dconf.nix +++ b/modules/misc/dconf.nix @@ -46,6 +46,9 @@ in { }; config = mkIf (cfg.enable && cfg.settings != { }) { + # Make sure the dconf directory exists. + xdg.configFile."dconf/.keep".source = builtins.toFile "keep" ""; + home.activation.dconfSettings = hm.dag.entryAfter [ "installPackages" ] (let iniFile = pkgs.writeText "hm-dconf.ini" (toDconfIni cfg.settings); in ''