diff options
author | ene <ene@sils.li> | 2023-03-20 15:05:12 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-03-20 15:05:12 +0100 |
commit | 7a649517405c8564ecd2108367f38bbb38591798 (patch) | |
tree | 2f12f16a577522c747c26b33de11fbe0533b6234 | |
parent | Revert "Revert "Merge pull request 'Feat: Add Website' (#17) from server1_ngi... (diff) | |
parent | Fix(hosts/server1/networking): Correct ipv6 (diff) | |
download | nixos-server-7a649517405c8564ecd2108367f38bbb38591798.tar.gz nixos-server-7a649517405c8564ecd2108367f38bbb38591798.zip |
Merge branch 'server1_network' into server1_develop
-rw-r--r-- | hosts/server1/networking.nix | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/hosts/server1/networking.nix b/hosts/server1/networking.nix index 26d6719..d3c5422 100644 --- a/hosts/server1/networking.nix +++ b/hosts/server1/networking.nix @@ -5,8 +5,14 @@ nameservers = [ "8.8.8.8" ]; - defaultGateway = "89.58.56.1"; - defaultGateway6 = "fe80::1"; + defaultGateway = { + address = "89.58.56.1"; + interface = "eth0"; + }; + defaultGateway6 = { + address = "fe80::1"; + interface = "eth0"; + }; dhcpcd.enable = false; usePredictableInterfaceNames = lib.mkForce false; interfaces = { @@ -19,11 +25,7 @@ ]; ipv6.addresses = [ { - address = "2a03:4000:6a:3f3:6422:6dff:fe82:939b"; - prefixLength = 64; - } - { - address = "fe80::6422:6dff:fe82:939b"; + address = "2a03:4000:6a:3f3::1"; prefixLength = 64; } ]; |