restructure nfs exports

This commit is contained in:
2026-08-01 11:46:19 +02:00
parent 0ac0d8da06
commit dc9f975edc
+6 -3
View File
@@ -8,9 +8,12 @@
services.nfs.server = rec {
enable = true;
exports = ''
/export 192.168.2.0/24(rw,fsid=0,no_subtree_check),10.10.10.2/32(ro,fsid=0,no_subtree_check)
/export/Pluto 192.168.2.0/24(rw,no_subtree_check),10.10.10.2/32(ro,no_subtree_check)
/export/Mars 192.168.2.0/24(rw,no_subtree_check),10.10.10.2/32(ro,no_subtree_check)
/export 192.168.2.0/24(rw,fsid=0,no_subtree_check)
/export 10.10.10.2/32(ro,fsid=0,no_subtree_check)
/export/Pluto 192.168.2.0/24(rw,no_subtree_check)
/export/Pluto 10.10.10.2/32(ro,no_subtree_check)
/export/Mars 192.168.2.0/24(rw,no_subtree_check)
/export/Mars 10.10.10.2/32(ro,no_subtree_check)
'';
createMountPoints = true;
};