treying to get nfs to work

This commit is contained in:
Geir Okkenhaug Jerstad 2025-06-07 15:29:28 +00:00
parent 2d3728f28b
commit 9bfddf14ce
2 changed files with 22 additions and 16 deletions

View file

@ -7,8 +7,9 @@
services.nfs.server = {
enable = true;
# Export the storage directory (ZFS dataset)
# Allow access from both local network and Tailscale network
exports = ''
/mnt/storage 10.0.0.0/24(rw,sync,no_subtree_check,no_root_squash)
/mnt/storage 10.0.0.0/24(rw,sync,no_subtree_check,no_root_squash) 100.64.0.0/10(rw,sync,no_subtree_check,no_root_squash)
'';
# Create exports on startup
createMountPoints = true;