nixos/testing/network.nix: Add network config to specialisations

This commit is contained in:
Robert Hensing 2022-09-17 14:34:14 +01:00
parent 7cdc9bc340
commit 1c0b9c4a48
2 changed files with 2 additions and 1 deletions

View File

@ -112,6 +112,6 @@ let
in
{
config = {
defaults = { imports = [ networkModule nodeNumberModule ]; };
extraBaseModules = { imports = [ networkModule nodeNumberModule ]; };
};
}

View File

@ -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;
};