From 3d9a35dc4f4d0a7f4a8e774bdb50d84036a07f51 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 2 Oct 2017 10:02:39 +0200 Subject: update network config --- ymir.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/ymir.nix b/ymir.nix index aa34b2e9..2138e3d2 100644 --- a/ymir.nix +++ b/ymir.nix @@ -160,9 +160,19 @@ in rec { }; enableIPv6 = true; defaultGateway6 = "fe80::1"; - interfaces."enp0s3" = { - ipv6Address = "2a03:4000:6:d004::"; - ipv6PrefixLength = 64; + interfaces."ens3" = { + useDHCP = true; + ip4 = [ + { address = "188.68.51.254"; + prefixLength = 22; + } + ]; + ip6 = [ + { address = "2a03:4000:6:d004::"; + prefixLength = 64; + } + ]; + }; dnsExtensionMechanism = true; nameservers = [ "::1" "127.0.0.1" "10.141.1.1" "8.8.8.8" "8.8.4.4" ]; -- cgit v1.2.3