about summary refs log tree commit diff
path: root/nixos/modules/security.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-04-16 10:11:19 +0900
committersefidel <contact@sefidel.net>2023-04-16 10:13:18 +0900
commit44ab75b12898a23c936f9e57bddd5a01d8b76079 (patch)
treea2e048135d68c9127b0c474850d80bdeeb9b04c4 /nixos/modules/security.nix
parent584a20dac0118cc8bafd987b3a6b567380b1f7c3 (diff)
downloadnixrc-44ab75b12898a23c936f9e57bddd5a01d8b76079.tar.gz
nixrc-44ab75b12898a23c936f9e57bddd5a01d8b76079.zip
chore(flake): bump
Diffstat (limited to 'nixos/modules/security.nix')
-rw-r--r--nixos/modules/security.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/security.nix b/nixos/modules/security.nix
index 80fcbaa..358f27b 100644
--- a/nixos/modules/security.nix
+++ b/nixos/modules/security.nix
@@ -8,11 +8,11 @@
 
   # mount /tmp in ram. This makes temp file management faster
   # on ssd systems, and volatile! Because it's wiped on reboot.
-  boot.tmpOnTmpfs = false;
-  boot.tmpOnTmpfsSize = "80%";
+  boot.tmp.useTmpfs = false;
+  boot.tmp.tmpfsSize = "80%";
 
   # Purge /tmp on boot. (fallback option)
-  boot.cleanTmpDir = lib.mkDefault (!config.boot.tmpOnTmpfs);
+  boot.tmp.cleanOnBoot = lib.mkDefault (!config.boot.tmp.useTmpfs);
 
   boot.kernel.sysctl = {
     # The Magic SysRq key is a key combo that allows users connected to the