services.nfs.server.lockdPort
NixOS option
Use a fixed port for the NFS lock manager kernel module (lockd/nlockmgr). This is useful if the NFS server is behind a 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 →4001