diff --git a/nixos/modules/services/networking/syncthing.nix b/nixos/modules/services/networking/syncthing.nix index 19c8ce15dfec..aa4d08a7f74a 100644 --- a/nixos/modules/services/networking/syncthing.nix +++ b/nixos/modules/services/networking/syncthing.nix @@ -336,7 +336,7 @@ in }; localAnnouncePort = mkOption { - type = types.nullOr types.int; + type = types.nullOr types.port; default = null; description = '' The port on which to listen and send IPv4 broadcast announcements to.