From 44ab75b12898a23c936f9e57bddd5a01d8b76079 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 16 Apr 2023 10:11:19 +0900 Subject: chore(flake): bump --- nixos/modules/security.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nixos') 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 -- cgit 1.4.1