about summary refs log tree commit diff
path: root/configuration/devices.nix
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-12-29 22:20:59 +0100
committerMel <einebeere@gmail.com>2024-12-29 22:20:59 +0100
commit17b9ac8e3f73c787fb4a39677ccb59bbbf5860fa (patch)
treeb4d94974d35219c553c1438fb0f79f7c5828443c /configuration/devices.nix
parenta0a733ede0bca29573f68602462cb6a19b60a2c2 (diff)
downloadspecimen-17b9ac8e3f73c787fb4a39677ccb59bbbf5860fa.tar.zst
specimen-17b9ac8e3f73c787fb4a39677ccb59bbbf5860fa.zip
Forced to add IPv4, because to this day GitHub still does not support IPv6-only hosts!! :(
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'configuration/devices.nix')
-rw-r--r--configuration/devices.nix15
1 files changed, 13 insertions, 2 deletions
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;
+      }
+    ];
   };
 }