diff options
Diffstat (limited to 'ymir.nix')
-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" ]; |