diff options
-rw-r--r-- | hosts/tahoe/boot.nix | 1 | ||||
-rw-r--r-- | modules/system/boot/default.nix | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/hosts/tahoe/boot.nix b/hosts/tahoe/boot.nix index 9bc68f7..bb2f53c 100644 --- a/hosts/tahoe/boot.nix +++ b/hosts/tahoe/boot.nix @@ -15,7 +15,6 @@ }; my.system.boot = { - tmp = { clean = true; }; initrd = { network.enable = true; }; }; } 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 = { |