diff options
Diffstat (limited to 'modules/profiles/tests.nix')
-rw-r--r-- | modules/profiles/tests.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/profiles/tests.nix b/modules/profiles/tests.nix index 66ea76e5..811d6cf8 100644 --- a/modules/profiles/tests.nix +++ b/modules/profiles/tests.nix @@ -1,10 +1,10 @@ -{ config, lib, tests, ... }: +{ config, lib, ... }: with lib; let which = if config.networking.useNetworkd then "networkd" else "scripted"; - networkTests = map (attr: getAttr attr tests.nixos.networking.${which}) [ + networkTests = map (name: ["nixos" "networking" which]) [ "static" "dhcpSimple" "dhcpOneIf" "bond" "bridge" "macvlan" "sit" "vlan" ]; |