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

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