nixos/tahoe: use types.port
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user