modules/wireguard-systemd: Support keepalive setting This field was originally added manually to the attrset (so we could convert nulls into zeroes) before we switched to using pipe, and we forgot to un-filter it once we switched.
1 files changed, 1 insertions(+), 1 deletions(-) M modules/services/networking/wireguard-systemd.nix
M modules/services/networking/wireguard-systemd.nix => modules/services/networking/wireguard-systemd.nix +1 -1
@@ 6,7 6,7 @@ let generatePeerConfig = peer: { wireguardPeerConfig = pipe peer [ (getAttrs [ "publicKey" "presharedKeyFile" "allowedIPs" "endpoint" ]) (getAttrs [ "publicKey" "presharedKeyFile" "allowedIPs" "endpoint" "persistentKeepalive" ]) (filterAttrs (name: value: value != null)) capitalizeAttrNames ];