We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 11ada20 commit a93e3a9Copy full SHA for a93e3a9
nixos/modules/services/networking/wireguard.nix
@@ -192,7 +192,7 @@ let
192
) values.ips)
193
194
("${wgCommand} set ${name} private-key ${privKey}" +
195
- optionalString (values.listenPort != null) " listen-port ${values.listenPort}")
+ optionalString (values.listenPort != null) " listen-port ${toString values.listenPort}")
196
197
(map (peer:
198
assert (peer.presharedKeyFile == null) || (peer.presharedKey == null); # at most one of the two must be set
0 commit comments