diff options
author | Franck Cuny <franck@fcuny.net> | 2023-04-29 15:20:03 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-04-29 15:20:03 -0700 |
commit | 3d84379a7e4c41ae861d50651aad6700b208d24f (patch) | |
tree | 41481eca1efc238aba66d9f6ebc563adcb8cc156 /modules | |
parent | modules/system: add ssh keys for known hosts (diff) | |
download | world-3d84379a7e4c41ae861d50651aad6700b208d24f.tar.gz |
modules/boot: always clean up /tmp on boot
Diffstat (limited to '')
-rw-r--r-- | modules/system/boot/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/system/boot/default.nix b/modules/system/boot/default.nix index 5a5ac25..30030c6 100644 --- a/modules/system/boot/default.nix +++ b/modules/system/boot/default.nix @@ -3,7 +3,6 @@ let cfg = config.my.system.boot; in { options.my.system.boot = with lib; { - tmp = { clean = mkEnableOption "clean `/tmp` on boot."; }; initrd = { network = { enable = mkEnableOption "enable SSH with initrd"; }; }; @@ -20,7 +19,7 @@ in }; kernelPackages = pkgs.linuxPackages_latest; - cleanTmpDir = cfg.tmp.clean; + cleanTmpDir = true; tmpOnTmpfs = true; initrd = { |