diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index fbeeafc169f3..c01401b7e044 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -704,6 +704,11 @@ in { nixos-generate-config = handleTest ./nixos-generate-config.nix {}; nixos-rebuild-install-bootloader = handleTestOn ["x86_64-linux"] ./nixos-rebuild-install-bootloader.nix {}; nixos-rebuild-specialisations = runTestOn ["x86_64-linux"] ./nixos-rebuild-specialisations.nix; + nixos-rebuild-specialisations-legacy = runTestOn ["x86_64-linux"] { + name = mkForce "nixos-rebuild-specialisations-legacy"; + imports = [ ./nixos-rebuild-specialisations.nix ]; + extraBaseModules = { system.apply.enable = false; }; + }; nixos-rebuild-target-host = runTest ./nixos-rebuild-target-host.nix; nixos-rebuild-target-host-legacy = runTest { name = mkForce "nixos-rebuild-target-host-legacy";