nixy/wg: add nx

This commit is contained in:
Asmir A 2024-08-15 17:36:00 +02:00
parent b06f2546d6
commit 4673549042
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -151,6 +151,19 @@
} }
]; ];
}; };
neox_wg = {
ips = ["192.168.51.2/32"];
privateKeyFile = config.sops.secrets."wg_privkey".path;
peers = [
{
publicKey = builtins.readFile ../nixy/wg_pubkey_nx;
allowedIPs = ["192.168.2.0/24"];
endpoint = "185.194.64.26:51820";
persistentKeepalive = 25;
}
];
};
}; };
}; };