From 3d84379a7e4c41ae861d50651aad6700b208d24f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 29 Apr 2023 15:20:03 -0700 Subject: modules/boot: always clean up /tmp on boot --- modules/system/boot/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules') 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 = { -- cgit 1.4.1