From bbc75cab59b5ed7065c2960094a41a513d31a741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sat, 18 Jan 2025 20:37:26 +0200 Subject: [PATCH] fra1-b: fix ipv6 --- hosts/fra1-b/configuration.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hosts/fra1-b/configuration.nix b/hosts/fra1-b/configuration.nix index fdd098c..bc66816 100644 --- a/hosts/fra1-b/configuration.nix +++ b/hosts/fra1-b/configuration.nix @@ -132,13 +132,16 @@ in hostName = "fra1-b"; domain = "servers.jakst"; useDHCP = true; - interfaces.enp1s0.addresses = [ + interfaces.enp1s0.ipv6.addresses = [ { address = "2a01:4f8:c012:1ba::"; prefixLength = 64; - defaultGateway = "fe80::1"; } ]; + defaultGateway6 = { + address = "fe80::1"; + interface = "enp1s0"; + }; firewall = { allowedUDPPorts = [ 53 ]; allowedTCPPorts = [ 53 ];