diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/core/tests.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/core/tests.nix b/modules/core/tests.nix index 2786a60a..f5093f0d 100644 --- a/modules/core/tests.nix +++ b/modules/core/tests.nix @@ -338,7 +338,8 @@ let { check = config.networking.sits != {}; path = ["nixos" "networking" whichNet "sit"]; } - { check = anyAttrs (i: i.ip4 != []) config.networking.interfaces; + { check = anyAttrs (i: i.ipv4.addresses != []) + config.networking.interfaces; path = ["nixos" "networking" whichNet "static"]; } { check = config.networking.vlans != {}; |