From 9d482efa8ffdb2a22182c4406880d23e171a9834 Mon Sep 17 00:00:00 2001 From: Goldstein Date: Wed, 21 Aug 2024 15:45:44 +0000 Subject: [PATCH] enable IPv6 on metal --- modules/metal/networking.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/metal/networking.nix b/modules/metal/networking.nix index 50c9469..212d4fa 100644 --- a/modules/metal/networking.nix +++ b/modules/metal/networking.nix @@ -5,5 +5,16 @@ firewall = { allowedTCPPorts = [ 7643 80 443 19423 ]; }; + interfaces.enp6s0.ipv6 = { + addresses = [{ + address = "2a01:4f8:13b:f58::1"; + prefixLength = 64; + }]; + routes = [{ + via = "fe80::1"; + address = "::"; + prefixLength = 0; + }]; + }; }; }