diff --git a/nixos/tests/nixos-rebuild-target-host.nix b/nixos/tests/nixos-rebuild-target-host.nix index 88a0317656d2..0e4c3e5f3999 100644 --- a/nixos/tests/nixos-rebuild-target-host.nix +++ b/nixos/tests/nixos-rebuild-target-host.nix @@ -28,7 +28,8 @@ system.build.privateKey = snakeOilPrivateKey; system.build.publicKey = snakeOilPublicKey; - # needed to provide STC implementation for target + # We don't switch on `deployer`, but we need it to have the dependencies + # available, to be picked up by system.includeBuildDependencies above. system.switch.enable = true; }; @@ -61,6 +62,7 @@ system.build = { inherit targetConfig; }; + system.switch.enable = true; networking.hostName = "target"; }