From d5a12f0acc669ee1cd17c4f4745fc9baa7672282 Mon Sep 17 00:00:00 2001 From: sefidel Date: Thu, 20 Jan 2022 12:49:17 +0900 Subject: nixos: disable tmpfs * 16GB ram can't handle nixpkgs builds --- nixos/modules/security.nix | 4 ++-- 1 file 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); -- cgit 1.4.1