diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index 6a63808cf2e4..1b0e220bd31f 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -437,6 +437,7 @@ let (assertKeyIsSystemdCredential "PresharedKey") (assertOnlyFields [ "PublicKey" + "PublicKeyFile" "PresharedKey" "PresharedKeyFile" "AllowedIPs"