From 96e48dc35e45ffc00b81765ff1951b2947d04b1a Mon Sep 17 00:00:00 2001 From: ahtlon Date: Thu, 14 Nov 2024 20:02:28 +0100 Subject: [PATCH] forgot a line --- machines/lucia/wireguard.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/machines/lucia/wireguard.nix b/machines/lucia/wireguard.nix index 2e533c0..d000b62 100644 --- a/machines/lucia/wireguard.nix +++ b/machines/lucia/wireguard.nix @@ -1,5 +1,7 @@ {config, pkgs, ...}: { + sops.secrets.wireguard_private = {}; + # enable NAT networking.nat.enable = true; networking.nat.externalInterface = "eth0"; @@ -42,7 +44,6 @@ { # Feel free to give a meaningfull name # Public key of the peer (not a file path). publicKey = "SfokXbgmvSmodgPFoVHjwmHE3nriQ3OTQ+hISU/3eW4="; - # To decrypt the private key to use # List of IPs assigned to this peer within the tunnel subnet. Used to configure routing. allowedIPs = [ "10.100.0.2/32" ];