aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--srv/h-alpha/hardware-configuration.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/srv/h-alpha/hardware-configuration.nix b/srv/h-alpha/hardware-configuration.nix
index 1003394..6304436 100644
--- a/srv/h-alpha/hardware-configuration.nix
+++ b/srv/h-alpha/hardware-configuration.nix
@@ -24,4 +24,14 @@
swapDevices = [ ];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
+ systemd.networks.networks."30-wan" = {
+ matchConfig.Name = "enp1s0";
+ networkConfig.DHCP = "ipv4";
+ address = [
+ "2a01:4f9:c012:5dd3::/64"
+ ];
+ routes = [
+ { Gateway = "fe80::1"; }
+ ];
+ };
}