nixosTests.systemd-boot.switch-test: Fix test
... by making the alternate configs available in machine's store.
This commit is contained in:
parent
a30520bf8e
commit
0d55eebcf5
1 changed files with 7 additions and 1 deletions
|
@ -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, ... }: {
|
||||
|
|
Loading…
Reference in a new issue