From 58ef4b7ae273c55d321b84f747e100e2061b349d Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 22 Sep 2025 16:05:18 +0200 Subject: [PATCH] nixos/syncthing: use `types.port` --- nixos/modules/services/networking/syncthing.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.