services.nfs.server.mountdPort

Use fixed port for rpc.mountd, useful if server is behind firewall.

Type
null or 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
null
Example
4002
Declared
<nixpkgs/nixos/modules/services/network-filesystems/nfsd.nix>