From 17b9ac8e3f73c787fb4a39677ccb59bbbf5860fa Mon Sep 17 00:00:00 2001 From: Mel Date: Sun, 29 Dec 2024 22:20:59 +0100 Subject: Forced to add IPv4, because to this day GitHub still does not support IPv6-only hosts!! :( Signed-off-by: Mel --- configuration/devices.nix | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'configuration/devices.nix') diff --git a/configuration/devices.nix b/configuration/devices.nix index d643f9c..d2ffc0a 100644 --- a/configuration/devices.nix +++ b/configuration/devices.nix @@ -10,6 +10,8 @@ useDHCP = false; # these are Hetzner's DNS servers. nameservers = [ + "185.12.64.1" + "185.12.64.2" "2a01:4ff:ff00::add:1" "2a01:4ff:ff00::add:2" ]; @@ -19,7 +21,16 @@ systemd.network.networks."10-wan" = { name = "enp1s0"; DHCP = "no"; - address = [ "2a01:4f8:c2c:cd93::1" ]; - routes = [ { Gateway = "fe80::1"; } ]; + address = [ + "2a01:4f8:c2c:cd93::1" + "128.140.111.76" + ]; + routes = [ + { Gateway = "fe80::1"; } + { + Gateway = "172.31.1.1"; + GatewayOnLink = true; + } + ]; }; } -- cgit 1.4.1