From a9e707c85dcfaaee28657346426cab6a87516ced Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 4 Oct 2018 19:32:58 +0200 Subject: Configure Hetzner IPv6 on automatix --- host/automatix.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/host/automatix.nix b/host/automatix.nix index cb75ed1..9967430 100644 --- a/host/automatix.nix +++ b/host/automatix.nix @@ -23,6 +23,17 @@ # open Nginx ports, other services open their own ports allowedTCPPorts = [ 80 443 ]; }; + + # setup IPv6 + interfaces.ens3.ipv6.addresses = [ { + address = "2a01:4f8:c010:f56::1"; + prefixLength = 64; + } ]; + + defaultGateway6 = { + address = "fe80::1"; + interface = "ens3"; + }; }; services = { -- cgit v1.2.3