aboutsummaryrefslogtreecommitdiffstats
path: root/sys/tempfiles
diff options
context:
space:
mode:
Diffstat (limited to 'sys/tempfiles')
-rw-r--r--sys/tempfiles/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/tempfiles/default.nix b/sys/tempfiles/default.nix
new file mode 100644
index 00000000..2d48b02e
--- /dev/null
+++ b/sys/tempfiles/default.nix
@@ -0,0 +1,6 @@
+{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
+ ];
+}