services.nfs.server.mountdPort
NixOS option
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
declared in: nixos/modules/services/network-filesystems/nfsd.nixView source on NixOS/nixpkgs →4002