From e9d658d04743412ec457dc28f3835e5337dd591a Mon Sep 17 00:00:00 2001 From: Anish L Date: Tue, 2 Aug 2022 21:25:43 +1000 Subject: [PATCH] testing wireguard-server on capsul, enable keygen --- profiles/wireguard-server/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiles/wireguard-server/default.nix b/profiles/wireguard-server/default.nix index 8a5eaffe..7a15fd67 100644 --- a/profiles/wireguard-server/default.nix +++ b/profiles/wireguard-server/default.nix @@ -13,7 +13,8 @@ networking.wireguard.interfaces.wg0 = { ips = [ "10.0.69.1/24" ]; listenPort = 60990; - privateKeyFile = "/var/lib/wireguard/priv"; + privateKeyFile = "/var/lib/wireguard/private"; + generatePrivateKeyFile = true; # TODO agenix secret peers = [ { # box