nixos/nfsd: use types.port

This commit is contained in:
h7x4
2025-09-22 16:33:04 +02:00
parent a9f32669c8
commit ceb57eba5a
@@ -81,7 +81,7 @@ in
};
mountdPort = lib.mkOption {
type = lib.types.nullOr lib.types.int;
type = lib.types.nullOr lib.types.port;
default = null;
example = 4002;
description = ''
@@ -90,7 +90,7 @@ in
};
lockdPort = lib.mkOption {
type = lib.types.nullOr lib.types.int;
type = lib.types.nullOr lib.types.port;
default = null;
example = 4001;
description = ''
@@ -101,7 +101,7 @@ in
};
statdPort = lib.mkOption {
type = lib.types.nullOr lib.types.int;
type = lib.types.nullOr lib.types.port;
default = null;
example = 4000;
description = ''