summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-02-26 12:47:12 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2018-02-26 12:47:12 +0100
commit6891028d620ac0099fb3d241d29cf8693d3860e9 (patch)
tree62bcf0a90cc7c3085e86f15b7bd6f8443632f025
parenta28047ee441970cdfca4102242b724ca4f16750d (diff)
downloadnixos-6891028d620ac0099fb3d241d29cf8693d3860e9.tar
nixos-6891028d620ac0099fb3d241d29cf8693d3860e9.tar.gz
nixos-6891028d620ac0099fb3d241d29cf8693d3860e9.tar.bz2
nixos-6891028d620ac0099fb3d241d29cf8693d3860e9.tar.xz
nixos-6891028d620ac0099fb3d241d29cf8693d3860e9.zip
deprecated ip config
-rw-r--r--ymir.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/ymir.nix b/ymir.nix
index 789370b4..8202923b 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -190,8 +190,11 @@ in rec {
190 enableIPv6 = true; 190 enableIPv6 = true;
191 interfaces."ens3" = { 191 interfaces."ens3" = {
192 useDHCP = true; 192 useDHCP = true;
193 ipv6Address = "2a03:4000:6:d004::"; 193 ipv6.addresses = [
194 ipv6PrefixLength = 64; 194 { ipv6Address = "2a03:4000:6:d004::";
195 ipv6PrefixLength = 64;
196 }
197 ];
195 }; 198 };
196 dnsExtensionMechanism = true; 199 dnsExtensionMechanism = true;
197 nameservers = [ "::1" "127.0.0.1" "10.141.1.1" "8.8.8.8" "8.8.4.4" ]; 200 nameservers = [ "::1" "127.0.0.1" "10.141.1.1" "8.8.8.8" "8.8.4.4" ];
@@ -314,7 +317,7 @@ in rec {
314 connect = false; 317 connect = false;
315 useDNS = false; 318 useDNS = false;
316 interfaceConfig = { 319 interfaceConfig = {
317 ip4 = [ { address = "10.141.5.1"; prefixLength = 16; } ]; 320 ipv4.addresses = [ { address = "10.141.5.1"; prefixLength = 16; } ];
318 }; 321 };
319 }; 322 };
320 323
@@ -324,7 +327,7 @@ in rec {
324 connect = false; 327 connect = false;
325 useDNS = false; 328 useDNS = false;
326 ipConf = { 329 ipConf = {
327 ip4 = [ { address = "10.142.0.3"; prefixLength = 16; } ]; 330 ipv4.addresses = [ { address = "10.142.0.3"; prefixLength = 16; } ];
328 }; 331 };
329 }); 332 });
330 333