From 0f0d4ad231d5c83fa3274977c870ca3882aafbda Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Fri, 27 Jul 2018 13:30:23 +0200 Subject: [PATCH] Debug wireguard --- common/default.nix | 1 + hosts/hera/configuration.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/default.nix b/common/default.nix index 39dfdc05..ed03bc76 100644 --- a/common/default.nix +++ b/common/default.nix @@ -16,6 +16,7 @@ with lib; default = let p = config.m-0.prefix; in { hera-v4 = "213.136.94.190"; hera = "${p}::1"; + hera-wg = "${p}::2"; hera-intern = "${p}::3:1"; git = "${p}::3:2"; borg = "${p}::3:3"; diff --git a/hosts/hera/configuration.nix b/hosts/hera/configuration.nix index df1b37c5..dc05a845 100644 --- a/hosts/hera/configuration.nix +++ b/hosts/hera/configuration.nix @@ -34,7 +34,7 @@ networking = { nameservers = [ "213.136.95.10" "2a02:c207::1:53" "2a02:c207::2:53" ]; wireguard.interfaces = { wireguard = { - ips = [ "${hosts.hera}/128" ]; + ips = [ "${hosts.hera-wg}/128" ]; privateKeyFile = "/etc/nixos/hosts/hera/secret/wireguard-private"; listenPort = wireguard.port; peers = [