diff options
author | Lancelot SIX <lsix+github@lancelotsix.com> | 2020-03-06 22:43:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-06 22:43:32 +0100 |
commit | 74c0ce53763218b591fa4aac5899b9dfdb95f90f (patch) | |
tree | d38fa9033dcd3d2696cfbb0647ddf232bcf2de38 /nixos | |
parent | d5bf022aa61ae8445dc471860370b59ce3e36229 (diff) | |
parent | b19c485b221a6486a46626664da5c8c446b1eac5 (diff) | |
download | nixpkgs-74c0ce53763218b591fa4aac5899b9dfdb95f90f.tar nixpkgs-74c0ce53763218b591fa4aac5899b9dfdb95f90f.tar.gz nixpkgs-74c0ce53763218b591fa4aac5899b9dfdb95f90f.tar.bz2 nixpkgs-74c0ce53763218b591fa4aac5899b9dfdb95f90f.tar.lz nixpkgs-74c0ce53763218b591fa4aac5899b9dfdb95f90f.tar.xz nixpkgs-74c0ce53763218b591fa4aac5899b9dfdb95f90f.tar.zst nixpkgs-74c0ce53763218b591fa4aac5899b9dfdb95f90f.zip |
Merge pull request #81907 from atlaua/lr/wg-typo
nixos/wireguard: Fix typo in error message
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/wireguard.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/wireguard.nix b/nixos/modules/services/networking/wireguard.nix index ff8e54a1ce2..e8f83f6dd8b 100644 --- a/nixos/modules/services/networking/wireguard.nix +++ b/nixos/modules/services/networking/wireguard.nix @@ -428,7 +428,7 @@ in ++ (attrValues ( mapAttrs (name: value: { assertion = value.generatePrivateKeyFile -> (value.privateKey == null); - message = "networking.wireguard.interfaces.${name}.generatePrivateKey must not be set if networking.wireguard.interfaces.${name}.privateKey is set."; + message = "networking.wireguard.interfaces.${name}.generatePrivateKeyFile must not be set if networking.wireguard.interfaces.${name}.privateKey is set."; }) cfg.interfaces)) ++ map ({ interfaceName, peer, ... }: { assertion = (peer.presharedKey == null) || (peer.presharedKeyFile == null); |