Adjust nfs mount
ci / test (push) Successful in 40s Details
ci / deploy (push) Successful in 1m38s Details

This commit is contained in:
Ciapa 2024-02-27 07:54:21 +01:00
parent 855a3556a8
commit ab26c5edfd
1 changed files with 3 additions and 2 deletions

View File

@ -8,9 +8,10 @@
services.nfs.server.enable = true; services.nfs.server.enable = true;
services.nfs.server.exports = '' services.nfs.server.exports = ''
/export 192.168.0.20(rw,fsid=0,no_subtree_check) /export 192.168.0.20(rw,fsid=0,no_subtree_check)
/export/desktop 192.168.0.20(rw,nohide,insecure,no_subtree_check) /export/desktop 192.168.0.20(rw,nohide,insecure,no_subtree_check,all_squash,anonuid=1000,anongid=1000)
''; '';
networking.firewall.allowedTCPPorts = [ 2049 ]; networking.firewall.allowedTCPPorts = [ 111 662 892 2049 32769 32803 38467 ];
networking.firewall.allowedUDPPorts = [ 111 662 892 2049 32769 32803 38467 ];
} }