diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-10-02 10:02:39 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-10-02 10:02:39 +0200 |
commit | 3d9a35dc4f4d0a7f4a8e774bdb50d84036a07f51 (patch) | |
tree | 5c555eb7f58c075165b69ab25730a7ab66d67db8 | |
parent | 567b9a4d8e8f31a6e68b500f928c03eb0068012c (diff) | |
download | nixos-3d9a35dc4f4d0a7f4a8e774bdb50d84036a07f51.tar nixos-3d9a35dc4f4d0a7f4a8e774bdb50d84036a07f51.tar.gz nixos-3d9a35dc4f4d0a7f4a8e774bdb50d84036a07f51.tar.bz2 nixos-3d9a35dc4f4d0a7f4a8e774bdb50d84036a07f51.tar.xz nixos-3d9a35dc4f4d0a7f4a8e774bdb50d84036a07f51.zip |
update network config
-rw-r--r-- | ymir.nix | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -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" ]; |