From a9f32669c8637a8fa4729b152d57a2d043a1a479 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 22 Sep 2025 16:19:53 +0200 Subject: [PATCH] nixos/tahoe: use `types.port` --- nixos/modules/services/network-filesystems/tahoe.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/network-filesystems/tahoe.nix b/nixos/modules/services/network-filesystems/tahoe.nix index 1176fb3131fc..3297e65dac2b 100644 --- a/nixos/modules/services/network-filesystems/tahoe.nix +++ b/nixos/modules/services/network-filesystems/tahoe.nix @@ -140,7 +140,7 @@ in sftpd.enable = lib.mkEnableOption "SFTP service"; sftpd.port = lib.mkOption { default = null; - type = lib.types.nullOr lib.types.int; + type = lib.types.nullOr lib.types.port; description = '' The port on which the SFTP server will listen.