Keep nebular connection alive

This commit is contained in:
Invariantspace 2023-11-15 14:51:46 -08:00
parent 92422c52da
commit 0c29af017f
3 changed files with 3 additions and 6 deletions

View file

@ -11,8 +11,8 @@
ips = [ "10.32.54.2/32" ];
peers = [{
allowedIPs = [ "10.32.54.0/24" ];
publicKey = "0j8+alXU/f2UgWN61R6+Wjs9xelGRwpSbe5NyOwWlF4=";
endpoint = "${config.constants.domain}:45556";
publicKey = "0j8+alXU/f2UgWN61R6+Wjs9xelGRwpSbe5NyOwWlF4=";
}];
privateKeyFile = config.sops.secrets."wireguard/${config.networking.hostName}".path;
};

View file

@ -15,8 +15,9 @@ let hn = config.networking.hostName; in {
ips = [ "10.32.54.3/32" ];
peers = [{
allowedIPs = [ "10.32.54.0/24" ];
publicKey = "0j8+alXU/f2UgWN61R6+Wjs9xelGRwpSbe5NyOwWlF4=";
endpoint = "${config.constants.domain}:45556";
persistentKeepalive = 54;
publicKey = "0j8+alXU/f2UgWN61R6+Wjs9xelGRwpSbe5NyOwWlF4=";
}];
privateKeyFile = config.sops.secrets."wireguard/${hn}".path;
};

View file

@ -26,10 +26,6 @@ let hn = config.networking.hostName; in {
allowedIPs = [ "10.32.54.3/32" ];
publicKey = "1OA03mqu7SxREAum4UabJKD7hf+foPLu1j0E1N5K508=";
}
{
allowedIPs = [ "10.32.54.6/32" ];
publicKey = "yR099WK5V11Y6jr5CheXl6SDWPpvUMtvoItlO+JJd24=";
}
];
privateKeyFile = config.sops.secrets."wireguard/${hn}".path;
};