Désactivation NFS

This commit is contained in:
nyanloutre 2018-04-12 00:11:51 +02:00
parent 5e5455aa6c
commit 0ee5797eca

View File

@ -139,15 +139,15 @@ backend ${name}-backend
services.syncthing.dataDir = "/var/lib/syncthing"; services.syncthing.dataDir = "/var/lib/syncthing";
services.syncthing.openDefaultPorts = true; services.syncthing.openDefaultPorts = true;
services.nfs.server = { # services.nfs.server = {
enable = true; # enable = true;
exports = '' # exports = ''
/exports/steam 192.168.1.0/24(rw,no_root_squash) # /exports/steam 192.168.1.0/24(rw,no_root_squash)
''; # '';
statdPort = 4000; # statdPort = 4000;
lockdPort = 4001; # lockdPort = 4001;
mountdPort = 4002; # mountdPort = 4002;
}; # };
services.transmission.enable = true; services.transmission.enable = true;
services.transmission.home = "/var/lib/transmission"; services.transmission.home = "/var/lib/transmission";
@ -171,12 +171,12 @@ backend ${name}-backend
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
80 443 # HAProxy 80 443 # HAProxy
111 2049 4000 4001 4002 # NFS # 111 2049 4000 4001 4002 # NFS
3483 9000 # Slimserver 3483 9000 # Slimserver
51413 # Transmission 51413 # Transmission
]; ];
networking.firewall.allowedUDPPorts = [ networking.firewall.allowedUDPPorts = [
111 2049 4000 4001 4002 # NFS # 111 2049 4000 4001 4002 # NFS
3483 # Slimserver 3483 # Slimserver
51413 # Transmission 51413 # Transmission
]; ];