summary refs log tree commit diff
path: root/configuration/devices.nix
diff options
context:
space:
mode:
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;
+      }
+    ];
   };
 }