mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 14:41:27 +00:00
nixos/testing/network.nix: Add network config to specialisations
This commit is contained in:
parent
7cdc9bc340
commit
1c0b9c4a48
@ -112,6 +112,6 @@ let
|
||||
in
|
||||
{
|
||||
config = {
|
||||
defaults = { imports = [ networkModule nodeNumberModule ]; };
|
||||
extraBaseModules = { imports = [ networkModule nodeNumberModule ]; };
|
||||
};
|
||||
}
|
||||
|
@ -22,6 +22,7 @@ let
|
||||
# when the test framework is used by Nixpkgs NixOS tests.
|
||||
nixpkgs.config.allowAliases = false;
|
||||
})
|
||||
testModuleArgs.config.extraBaseModules
|
||||
] ++ optional config.minimal ../../modules/testing/minimal-kernel.nix;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user