diff options
author | sefidel <contact@sefidel.net> | 2023-04-16 10:15:26 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-04-16 10:23:42 +0900 |
commit | 7e540898987e54c3ad5065007f7f8c9ccf054582 (patch) | |
tree | de0e377f97b95de6efc6f61e0a9db44c55e7acd5 /modules | |
parent | 7a98c19703db745bfd13eae653269ec0e92b5706 (diff) | |
download | infra-7e540898987e54c3ad5065007f7f8c9ccf054582.tar.gz infra-7e540898987e54c3ad5065007f7f8c9ccf054582.zip |
chore(flake): bump
Diffstat (limited to 'modules')
-rw-r--r-- | modules/security.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/security.nix b/modules/security.nix index d845393..410b270 100644 --- a/modules/security.nix +++ b/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 |