mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 14:41:27 +00:00
nixos/testing/network.nix: Avoid deprecated .config
This commit is contained in:
parent
3c09cb2363
commit
124b0c4abc
@ -38,7 +38,7 @@ let
|
||||
# virtualisation.vlans option).
|
||||
networking.extraHosts = flip concatMapStrings machines
|
||||
(m':
|
||||
let config = (getAttr m' nodes).config; in
|
||||
let config = getAttr m' nodes; in
|
||||
optionalString (config.networking.primaryIPAddress != "")
|
||||
("${config.networking.primaryIPAddress} " +
|
||||
optionalString (config.networking.domain != null)
|
||||
|
Loading…
Reference in New Issue
Block a user