nixos/nfsd: use `types.port`

h7x4 ceb57eba a9f32669

Changed files
+3 -3
nixos
modules
services
network-filesystems
+3 -3
nixos/modules/services/network-filesystems/nfsd.nix
···
};
mountdPort = lib.mkOption {
-
type = lib.types.nullOr lib.types.int;
+
type = lib.types.nullOr lib.types.port;
default = null;
example = 4002;
description = ''
···
};
lockdPort = lib.mkOption {
-
type = lib.types.nullOr lib.types.int;
+
type = lib.types.nullOr lib.types.port;
default = null;
example = 4001;
description = ''
···
};
statdPort = lib.mkOption {
-
type = lib.types.nullOr lib.types.int;
+
type = lib.types.nullOr lib.types.port;
default = null;
example = 4000;
description = ''