mirror of
https://github.com/nix-community/home-manager
synced 2024-12-23 18:29:47 +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 != { }) {
|
||||
# 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 ''
|
||||
|
|
Loading…
Reference in a new issue