mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
nixos/servnerr-3: enable NFS
This commit is contained in:
parent
ef788ba82b
commit
eaf3fff322
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue