diff options
author | ene <ene@sils.li> | 2023-03-18 15:27:08 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-03-18 15:28:49 +0100 |
commit | 7ef945bfa4dfb2d1330ec441161796a4462a2d98 (patch) | |
tree | 7a793351a4d89cf1dd851d73a4e53d076fa825a1 /system/tempfiles | |
parent | Fix(flake): Update (diff) | |
download | nixos-config-7ef945bfa4dfb2d1330ec441161796a4462a2d98.tar.gz nixos-config-7ef945bfa4dfb2d1330ec441161796a4462a2d98.zip |
Fix(hm/conf/lf): Allow trashing of files on the temp fs
Diffstat (limited to '')
-rw-r--r-- | system/tempfiles/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/system/tempfiles/default.nix b/system/tempfiles/default.nix new file mode 100644 index 00000000..f94ddcee --- /dev/null +++ b/system/tempfiles/default.nix @@ -0,0 +1,7 @@ +# vim: ts=2 +{config, ...}: { + systemd.tmpfiles.rules = [ + # this file is needed to trash stuff on the temp fs + "d /.Trash 1777 root root" # TODO move this to the lf config + ]; +} |