From f852ed766246e2929ec25cfd09bb0908500400cb Mon Sep 17 00:00:00 2001 From: soraefir Date: Sat, 2 May 2026 00:21:57 +0200 Subject: [PATCH] Fix --- modules/nixos/system/network/wireguard/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nixos/system/network/wireguard/default.nix b/modules/nixos/system/network/wireguard/default.nix index ea25802..8ba244b 100644 --- a/modules/nixos/system/network/wireguard/default.nix +++ b/modules/nixos/system/network/wireguard/default.nix @@ -10,7 +10,7 @@ config.sops.secrets."${config.syscfg.hostname}_wg_priv".path; listenPort = 1515; mtu = 1340; - postUp = if config.syscfg.net.wg.server.enable then '' + postSetup = if config.syscfg.net.wg.server.enable then '' for keyfile in /run/secrets/*_wg_pub; do if [ -f "$keyfile" ]; then ${pkgs.wireguard-tools}/bin/wg set %i \