nixos/tahoe: use types.port

This commit is contained in:
h7x4
2025-09-22 16:19:53 +02:00
parent 0269d83980
commit a9f32669c8

View File

@@ -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.