From 6891028d620ac0099fb3d241d29cf8693d3860e9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 26 Feb 2018 12:47:12 +0100 Subject: deprecated ip config --- ymir.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'ymir.nix') diff --git a/ymir.nix b/ymir.nix index 789370b4..8202923b 100644 --- a/ymir.nix +++ b/ymir.nix @@ -190,8 +190,11 @@ in rec { enableIPv6 = true; interfaces."ens3" = { useDHCP = true; - ipv6Address = "2a03:4000:6:d004::"; - ipv6PrefixLength = 64; + ipv6.addresses = [ + { ipv6Address = "2a03:4000:6:d004::"; + ipv6PrefixLength = 64; + } + ]; }; dnsExtensionMechanism = true; nameservers = [ "::1" "127.0.0.1" "10.141.1.1" "8.8.8.8" "8.8.4.4" ]; @@ -314,7 +317,7 @@ in rec { connect = false; useDNS = false; interfaceConfig = { - ip4 = [ { address = "10.141.5.1"; prefixLength = 16; } ]; + ipv4.addresses = [ { address = "10.141.5.1"; prefixLength = 16; } ]; }; }; @@ -324,7 +327,7 @@ in rec { connect = false; useDNS = false; ipConf = { - ip4 = [ { address = "10.142.0.3"; prefixLength = 16; } ]; + ipv4.addresses = [ { address = "10.142.0.3"; prefixLength = 16; } ]; }; }); -- cgit v1.2.3