mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
nixos/testing/network.nix: Add network config to specialisations
This commit is contained in:
parent
7cdc9bc340
commit
1c0b9c4a48
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue