about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-01-20 12:49:17 +0900
committersefidel <contact@sefidel.net>2022-01-20 12:49:17 +0900
commitd5a12f0acc669ee1cd17c4f4745fc9baa7672282 (patch)
treed90a404d943145ea7b985e27365af95f5e676457 /nixos/modules
parentd762de95faa6c45ab89d5f04f70d215042e4434c (diff)
downloadnixrc-d5a12f0acc669ee1cd17c4f4745fc9baa7672282.tar.gz
nixrc-d5a12f0acc669ee1cd17c4f4745fc9baa7672282.zip
nixos: disable tmpfs
* 16GB ram can't handle nixpkgs builds
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/security.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/security.nix b/nixos/modules/security.nix
index e945fb0..80fcbaa 100644
--- a/nixos/modules/security.nix
+++ b/nixos/modules/security.nix
@@ -8,8 +8,8 @@
 
   # mount /tmp in ram. This makes temp file management faster
   # on ssd systems, and volatile! Because it's wiped on reboot.
-  boot.tmpOnTmpfs = true;
-  #boot.tmpOnTmpfsSize = "80%";
+  boot.tmpOnTmpfs = false;
+  boot.tmpOnTmpfsSize = "80%";
 
   # Purge /tmp on boot. (fallback option)
   boot.cleanTmpDir = lib.mkDefault (!config.boot.tmpOnTmpfs);