testing wireguard-server on capsul, enable keygen
This commit is contained in:
parent
31bec5a490
commit
e9d658d047
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue