testing wireguard-server on capsul, enable keygen

This commit is contained in:
Anish L 2022-08-02 21:25:43 +10:00
parent 31bec5a490
commit e9d658d047

View file

@ -13,7 +13,8 @@
networking.wireguard.interfaces.wg0 = { networking.wireguard.interfaces.wg0 = {
ips = [ "10.0.69.1/24" ]; ips = [ "10.0.69.1/24" ];
listenPort = 60990; listenPort = 60990;
privateKeyFile = "/var/lib/wireguard/priv"; privateKeyFile = "/var/lib/wireguard/private";
generatePrivateKeyFile = true; # TODO agenix secret
peers = [ peers = [
{ {
# box # box