nixos/testing/network.nix: Add network config to specialisations
This commit is contained in:
@@ -112,6 +112,6 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
defaults = { imports = [ networkModule nodeNumberModule ]; };
|
extraBaseModules = { imports = [ networkModule nodeNumberModule ]; };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ let
|
|||||||
# when the test framework is used by Nixpkgs NixOS tests.
|
# when the test framework is used by Nixpkgs NixOS tests.
|
||||||
nixpkgs.config.allowAliases = false;
|
nixpkgs.config.allowAliases = false;
|
||||||
})
|
})
|
||||||
|
testModuleArgs.config.extraBaseModules
|
||||||
] ++ optional config.minimal ../../modules/testing/minimal-kernel.nix;
|
] ++ optional config.minimal ../../modules/testing/minimal-kernel.nix;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user