Désactivation NFS
This commit is contained in:
parent
5e5455aa6c
commit
0ee5797eca
22
services.nix
22
services.nix
@ -139,15 +139,15 @@ backend ${name}-backend
|
||||
services.syncthing.dataDir = "/var/lib/syncthing";
|
||||
services.syncthing.openDefaultPorts = true;
|
||||
|
||||
services.nfs.server = {
|
||||
enable = true;
|
||||
exports = ''
|
||||
/exports/steam 192.168.1.0/24(rw,no_root_squash)
|
||||
'';
|
||||
statdPort = 4000;
|
||||
lockdPort = 4001;
|
||||
mountdPort = 4002;
|
||||
};
|
||||
# services.nfs.server = {
|
||||
# enable = true;
|
||||
# exports = ''
|
||||
# /exports/steam 192.168.1.0/24(rw,no_root_squash)
|
||||
# '';
|
||||
# statdPort = 4000;
|
||||
# lockdPort = 4001;
|
||||
# mountdPort = 4002;
|
||||
# };
|
||||
|
||||
services.transmission.enable = true;
|
||||
services.transmission.home = "/var/lib/transmission";
|
||||
@ -171,12 +171,12 @@ backend ${name}-backend
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80 443 # HAProxy
|
||||
111 2049 4000 4001 4002 # NFS
|
||||
# 111 2049 4000 4001 4002 # NFS
|
||||
3483 9000 # Slimserver
|
||||
51413 # Transmission
|
||||
];
|
||||
networking.firewall.allowedUDPPorts = [
|
||||
111 2049 4000 4001 4002 # NFS
|
||||
# 111 2049 4000 4001 4002 # NFS
|
||||
3483 # Slimserver
|
||||
51413 # Transmission
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user