zfs: sharenfs

This commit is contained in:
Peder Bergebakken Sundt 2024-02-01 02:09:03 +01:00
parent 50b31df316
commit 9e73e6e8d9
3 changed files with 4 additions and 3 deletions

View File

@ -27,5 +27,8 @@
#services.zfs.autoScrub.enable = true;
#services.zfs.trim.enable = true;
# config.services.nfs.server.enable will automatically export NFS dataset tagged as such
# the `sharenfs` property generates /etc/exports.d/zfs.exports file, automatically processed by NFS
# # zfs set sharenfs="-maproot=0:0 -network=192.168.1.0/24" Meconium
# # zfs set sharenfs="ro=192.168.1.0/24,all_squash,anonuid=70,anongid=70" Meconium
services.nfs.server.enable = lib.mkDefault true;
}

View File

@ -7,5 +7,4 @@
# non legacy-mount
systemd.services.zfs-mount.enable = true; # default
boot.zfs.extraPools = [ "Meconium" ]; # import on boot
}

View File

@ -7,5 +7,4 @@
# non legacy-mount
systemd.services.zfs-mount.enable = true; # default
boot.zfs.extraPools = [ "Panorama" ]; # import on boot
}