mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
parent
6f5fa6350d
commit
b0c8727286
1 changed files with 3 additions and 0 deletions
|
@ -46,6 +46,9 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf (cfg.enable && cfg.settings != { }) {
|
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" ]
|
home.activation.dconfSettings = hm.dag.entryAfter [ "installPackages" ]
|
||||||
(let iniFile = pkgs.writeText "hm-dconf.ini" (toDconfIni cfg.settings);
|
(let iniFile = pkgs.writeText "hm-dconf.ini" (toDconfIni cfg.settings);
|
||||||
in ''
|
in ''
|
||||||
|
|
Loading…
Reference in a new issue