mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
xdg: create '$XDG_STATE_HOME' (#6526)
Some programs (e.g: `less`) will not make use of `$XDG_STATE_HOME` if the directory does not exist.
This commit is contained in:
@@ -143,6 +143,7 @@ in {
|
||||
(mapAttrs' (name: file: nameValuePair "${cfg.stateHome}/${name}" file)
|
||||
cfg.stateFile)
|
||||
{ "${cfg.cacheHome}/.keep".text = ""; }
|
||||
{ "${cfg.stateHome}/.keep".text = ""; }
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user