From cf4c8e97ad99b24d3169c8d7e012abbe8ea83a3f Mon Sep 17 00:00:00 2001 From: Fernando Rodrigues Date: Mon, 17 Feb 2025 18:51:20 -0300 Subject: [PATCH] nixos/networkd: add new options introduced in systemd 257 The Wireguard public key can now be read from a file. Signed-off-by: Fernando Rodrigues --- nixos/modules/system/boot/networkd.nix | 1 + 1 file changed, 1 insertion(+) 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"