zfs: sharenfs
This commit is contained in:
parent
50b31df316
commit
9e73e6e8d9
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -7,5 +7,4 @@
|
|||
# non legacy-mount
|
||||
systemd.services.zfs-mount.enable = true; # default
|
||||
boot.zfs.extraPools = [ "Meconium" ]; # import on boot
|
||||
|
||||
}
|
||||
|
|
|
@ -7,5 +7,4 @@
|
|||
# non legacy-mount
|
||||
systemd.services.zfs-mount.enable = true; # default
|
||||
boot.zfs.extraPools = [ "Panorama" ]; # import on boot
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue