nixosTests.systemd-boot.switch-test: Fix test

... by making the alternate configs available in machine's store.
This commit is contained in:
Robert Hensing
2023-06-10 17:51:06 +02:00
parent a30520bf8e
commit 0d55eebcf5
+7 -1
View File
@@ -207,11 +207,17 @@ in
nodes = {
inherit common;
machine = { pkgs, ... }: {
machine = { pkgs, nodes, ... }: {
imports = [ common ];
boot.loader.systemd-boot.extraFiles = {
"efi/fruits/tomato.efi" = pkgs.netbootxyz-efi;
};
# These are configs for different nodes, but we'll use them here in `machine`
system.extraDependencies = [
nodes.common.system.build.toplevel
nodes.with_netbootxyz.system.build.toplevel
];
};
with_netbootxyz = { pkgs, ... }: {