Skip to content

Commit

Permalink
xdg: create '$XDG_STATE_HOME' (#6526)
Browse files Browse the repository at this point in the history
Some programs (e.g: `less`) will not make use of `$XDG_STATE_HOME` if
the directory does not exist.
  • Loading branch information
ambroisie authored Feb 24, 2025
1 parent 12e26a7 commit c12dcc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/misc/xdg.nix
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ in {
(mapAttrs' (name: file: nameValuePair "${cfg.stateHome}/${name}" file)
cfg.stateFile)
{ "${cfg.cacheHome}/.keep".text = ""; }
{ "${cfg.stateHome}/.keep".text = ""; }
];
}
];
Expand Down

0 comments on commit c12dcc9

Please sign in to comment.