nixos/tahoe: use types.port
This commit is contained in:
@@ -140,7 +140,7 @@ in
|
|||||||
sftpd.enable = lib.mkEnableOption "SFTP service";
|
sftpd.enable = lib.mkEnableOption "SFTP service";
|
||||||
sftpd.port = lib.mkOption {
|
sftpd.port = lib.mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
type = lib.types.nullOr lib.types.int;
|
type = lib.types.nullOr lib.types.port;
|
||||||
description = ''
|
description = ''
|
||||||
The port on which the SFTP server will listen.
|
The port on which the SFTP server will listen.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user