diff --git a/nixos/modules/nixos/system/nfs/default.nix b/nixos/modules/nixos/system/nfs/default.nix index b5453b6..dfaa293 100644 --- a/nixos/modules/nixos/system/nfs/default.nix +++ b/nixos/modules/nixos/system/nfs/default.nix @@ -15,7 +15,9 @@ in services.nfs.server.enable = true; services.nfs.server.exports = cfg.exports; networking.firewall.allowedTCPPorts = [ - 2049 + 2049 # NFS + 111 # RPC bind + 20048 # NFSv4 (Mountd) ]; }; }