1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-15 17:50:54 +00:00

nixos/servnerr-3: enable NFS

This commit is contained in:
Matt Layher 2020-04-26 16:50:58 -04:00
parent ef788ba82b
commit eaf3fff322

View file

@ -81,6 +81,14 @@
addr = "";
};
# Export ZFS pool via NFS to trusted LAN.
nfs.server = {
enable = true;
exports = ''
/primary 192.168.1.0/24(rw,sync,no_subtree_check,crossmnt) fd9e:1a04:f01d::/64(rw,sync,no_subtree_check,crossmnt)
'';
};
# Enable the OpenSSH daemon.
openssh = {
enable = true;