Debug wireguard
This commit is contained in:
parent
da1d8d1d2a
commit
0f0d4ad231
|
@ -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";
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue