summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-10-02 10:02:39 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-10-02 10:02:39 +0200
commit3d9a35dc4f4d0a7f4a8e774bdb50d84036a07f51 (patch)
tree5c555eb7f58c075165b69ab25730a7ab66d67db8
parent567b9a4d8e8f31a6e68b500f928c03eb0068012c (diff)
downloadnixos-3d9a35dc4f4d0a7f4a8e774bdb50d84036a07f51.tar
nixos-3d9a35dc4f4d0a7f4a8e774bdb50d84036a07f51.tar.gz
nixos-3d9a35dc4f4d0a7f4a8e774bdb50d84036a07f51.tar.bz2
nixos-3d9a35dc4f4d0a7f4a8e774bdb50d84036a07f51.tar.xz
nixos-3d9a35dc4f4d0a7f4a8e774bdb50d84036a07f51.zip
update network config
-rw-r--r--ymir.nix16
1 files 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 {
160 }; 160 };
161 enableIPv6 = true; 161 enableIPv6 = true;
162 defaultGateway6 = "fe80::1"; 162 defaultGateway6 = "fe80::1";
163 interfaces."enp0s3" = { 163 interfaces."ens3" = {
164 ipv6Address = "2a03:4000:6:d004::"; 164 useDHCP = true;
165 ipv6PrefixLength = 64; 165 ip4 = [
166 { address = "188.68.51.254";
167 prefixLength = 22;
168 }
169 ];
170 ip6 = [
171 { address = "2a03:4000:6:d004::";
172 prefixLength = 64;
173 }
174 ];
175
166 }; 176 };
167 dnsExtensionMechanism = true; 177 dnsExtensionMechanism = true;
168 nameservers = [ "::1" "127.0.0.1" "10.141.1.1" "8.8.8.8" "8.8.4.4" ]; 178 nameservers = [ "::1" "127.0.0.1" "10.141.1.1" "8.8.8.8" "8.8.4.4" ];