eple: disable nfs

This commit is contained in:
2024-06-24 12:24:53 +02:00
parent d274285702
commit bdc7158b2a
2 changed files with 3 additions and 1 deletions

View File

@@ -41,7 +41,7 @@
statdPort = 4000;
extraNfsdConfig = '''';
};
networking.firewall = {
networking.firewall = lib.mkIf (config.services.nfs.server.enable) {
# for NFSv3; view with `rpcinfo -p`
allowedTCPPorts = [ 111 2049 4000 4001 4002 ]; # 20048
allowedUDPPorts = [ 111 2049 4000 4001 4002 ]; # 20048