From cf21cd0cfec6a3144d97246283811630db99999e Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Fri, 25 Sep 2020 12:30:59 +0200 Subject: [PATCH] Add comment vor v4 tunnel --- nixos/machines/apollo/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/machines/apollo/configuration.nix b/nixos/machines/apollo/configuration.nix index 622fbb6f..0b63b1f2 100644 --- a/nixos/machines/apollo/configuration.nix +++ b/nixos/machines/apollo/configuration.nix @@ -34,6 +34,8 @@ in { publicKey = wireguard.pub.hera; allowedIPs = [ "::/0" ]; endpoint = "[${hosts.hera-wg-host}]:${builtins.toString wireguard.port}"; + # If v6 is not available: + # endpoint = "[${hosts.hera-v4}]:${builtins.toString wireguard.port}"; presharedKeyFile = "/etc/nixos/common/secret/wireguard-psk"; persistentKeepalive = 25; }];