Partage NFS Steam

This commit is contained in:
nyanloutre 2018-04-03 18:55:07 +02:00
parent 10093ea98b
commit 87511733ea
Signed by: nyanloutre
GPG Key ID: F85D93686A3A9063
1 changed files with 14 additions and 0 deletions

View File

@ -50,8 +50,22 @@
}; };
}; };
services.nfs.server = {
enable = true;
exports = ''
/exports/steam 192.168.1.0/24(rw,no_root_squash)
'';
statdPort = 4000;
lockdPort = 4001;
mountdPort = 4002;
};
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
3000 # Grafana 3000 # Grafana
8096 # Emby 8096 # Emby
111 2049 4000 4001 4002 # NFS
];
networking.firewall.allowedUDPPorts = [
111 2049 4000 4001 4002 # NFS
]; ];
} }