Fix
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user