mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
nixosTests.nixos-rebuild-target-host: Explain fix for switch-to-configuration-ng
This commit is contained in:
parent
d6ea764629
commit
df4376d0fd
1 changed files with 3 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue