From ceb57eba5a7af5f800c5d0a519dd04ee4dab0501 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 22 Sep 2025 16:20:37 +0200 Subject: [PATCH] nixos/nfsd: use `types.port` --- nixos/modules/services/network-filesystems/nfsd.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/network-filesystems/nfsd.nix b/nixos/modules/services/network-filesystems/nfsd.nix index 8729945fc3fd..9d3c3f9e4188 100644 --- a/nixos/modules/services/network-filesystems/nfsd.nix +++ b/nixos/modules/services/network-filesystems/nfsd.nix @@ -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 = ''