summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-10-04 19:32:58 +0200
committerAdrian Kummerlaender2018-10-04 19:32:58 +0200
commita9e707c85dcfaaee28657346426cab6a87516ced (patch)
tree9d5ffe83560399ab2c600b4546bce770d25e19cd
parent6d07981d7fad9e284f2f5c757c126ca058c8832f (diff)
downloadnixos_system-a9e707c85dcfaaee28657346426cab6a87516ced.tar
nixos_system-a9e707c85dcfaaee28657346426cab6a87516ced.tar.gz
nixos_system-a9e707c85dcfaaee28657346426cab6a87516ced.tar.bz2
nixos_system-a9e707c85dcfaaee28657346426cab6a87516ced.tar.lz
nixos_system-a9e707c85dcfaaee28657346426cab6a87516ced.tar.xz
nixos_system-a9e707c85dcfaaee28657346426cab6a87516ced.tar.zst
nixos_system-a9e707c85dcfaaee28657346426cab6a87516ced.zip
Configure Hetzner IPv6 on automatix
-rw-r--r--host/automatix.nix11
1 files changed, 11 insertions, 0 deletions
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 = {