tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/testing/network.nix: Avoid deprecated .config
Robert Hensing
3 years ago
124b0c4a
3c09cb23
+1
-1
1 changed file
expand all
collapse all
unified
split
nixos
lib
testing
network.nix
+1
-1
nixos/lib/testing/network.nix
···
38
38
# virtualisation.vlans option).
39
39
networking.extraHosts = flip concatMapStrings machines
40
40
(m':
41
41
-
let config = (getAttr m' nodes).config; in
41
41
+
let config = getAttr m' nodes; in
42
42
optionalString (config.networking.primaryIPAddress != "")
43
43
("${config.networking.primaryIPAddress} " +
44
44
optionalString (config.networking.domain != null)