1
0
Fork 0

Debug wireguard

This commit is contained in:
Malte Brandy 2018-07-27 13:30:23 +02:00
parent da1d8d1d2a
commit 0f0d4ad231
2 changed files with 2 additions and 1 deletions

View file

@ -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";

View file

@ -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 = [