diff options
author | sefidel <contact@sefidel.net> | 2022-01-20 12:49:17 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-01-20 12:49:17 +0900 |
commit | d5a12f0acc669ee1cd17c4f4745fc9baa7672282 (patch) | |
tree | d90a404d943145ea7b985e27365af95f5e676457 /nixos/modules | |
parent | d762de95faa6c45ab89d5f04f70d215042e4434c (diff) | |
download | nixrc-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.nix | 4 |
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); |