feature(boot): attatch /tmp to tmpfs, but keep nix build in /var/tmp

This commit is contained in:
2026-10-02 16:39:53 +02:00
parent 3e0e1d48f9
commit 6a080b2319
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -27,6 +27,9 @@
};
};
# build on disk, big builds would fill the /tmp tmpfs
systemd.services.nix-daemon.environment.TMPDIR = "/var/tmp";
# steam, protonvpn, discord, etc.
nixpkgs.config.allowUnfree = true;