about summary refs log tree commit diff stats
path: root/system/tempfiles/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/tempfiles/default.nix7
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
+  ];
+}