nixosTests.nixos-rebuild-target-host: Explain fix for switch-to-configuration-ng

This commit is contained in:
Robert Hensing 2024-09-25 11:06:45 +02:00
parent d6ea764629
commit df4376d0fd

View File

@ -28,7 +28,8 @@
system.build.privateKey = snakeOilPrivateKey; system.build.privateKey = snakeOilPrivateKey;
system.build.publicKey = snakeOilPublicKey; 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; system.switch.enable = true;
}; };
@ -61,6 +62,7 @@
system.build = { system.build = {
inherit targetConfig; inherit targetConfig;
}; };
system.switch.enable = true;
networking.hostName = "target"; networking.hostName = "target";
} }