1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-09 18:41:06 +01:00

xdg: add option 'xdg.stateFile'

This commit is contained in:
Bruno BELANYI 2024-09-06 13:55:36 +01:00 committed by GitHub
parent 03b49187a2
commit b00bdf59c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 1 deletions

View file

@ -11,8 +11,8 @@ with lib;
xdg.configFile.test.text = "config";
xdg.dataFile.test.text = "data";
xdg.stateFile.test.text = "state";
home.file."${config.xdg.cacheHome}/test".text = "cache";
home.file."${config.xdg.stateHome}/test".text = "state";
nmt.script = ''
assertFileExists home-files/.dummy-config/test