aboutsummaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/default.nix1
-rw-r--r--system/tempfiles/default.nix7
2 files changed, 8 insertions, 0 deletions
diff --git a/system/default.nix b/system/default.nix
index 13386a6d..23418312 100644
--- a/system/default.nix
+++ b/system/default.nix
@@ -11,6 +11,7 @@
./polkit
./graphics
./services
+ ./tempfiles
];
# TODO does this really remove all the bloatware, nixos installs by default?
environment = {
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
+ ];
+}