about 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.nix32
1 files changed, 15 insertions, 17 deletions
diff --git a/configuration/devices.nix b/configuration/devices.nix
index de787dd..dcb7e86 100644
--- a/configuration/devices.nix
+++ b/configuration/devices.nix
@@ -1,37 +1,35 @@
 { ... }:
 
 {
-  boot.loader = {
-    systemd-boot.enable = true;
-    efi.canTouchEfiVariables = true;
-  };
+  boot.loader.grub = {
+    enable = true;
+    version = 2;
+    device = "/dev/sda";
+ };
 
   networking = {
     useDHCP = false;
     nftables.enable = true;
-    # these are Hetzner's DNS servers.
+    # Cloudflare DNS
     nameservers = [
-      "185.12.64.1"
-      "185.12.64.2"
-      "2a01:4ff:ff00::add:1"
-      "2a01:4ff:ff00::add:2"
+      "1.1.1.1"
+      "1.0.0.1"
+      "2606:4700:4700::1111"
+      "2606:4700:4700::1001"
     ];
   };
 
   systemd.network.enable = true;
   systemd.network.networks."10-wan" = {
-    name = "enp1s0";
+    name = "ens3";
     DHCP = "no";
     address = [
-      "2a01:4f8:c2c:cd93::1"
-      "128.140.111.76"
+      "2001:41d0:701:1100::522b"
+      "162.19.227.249"
     ];
     routes = [
-      { Gateway = "fe80::1"; }
-      {
-        Gateway = "172.31.1.1";
-        GatewayOnLink = true;
-      }
+      { Gateway = "2001:41d0:701:1100::1"; }
+      { Gateway = "162.19.227.1"; }
     ];
   };
 }