nixosTests.nixos-rebuild-target-host: Explain fix for switch-to-configuration-ng
This commit is contained in:
parent
d6ea764629
commit
df4376d0fd
@ -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";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user