diff --git a/modules/system/boot/stage-2.nix b/modules/system/boot/stage-2.nix index d1a4e81ce2ca..02c061dacde2 100644 --- a/modules/system/boot/stage-2.nix +++ b/modules/system/boot/stage-2.nix @@ -67,7 +67,7 @@ let pkgs.utillinux pkgs.udev pkgs.sysvtools - ]; + ] ++ pkgs.lib.optional config.boot.cleanTmpDir pkgs.findutils; postBootCommands = pkgs.writeText "local-cmds" '' ${config.boot.postBootCommands}