server nfs mount

This commit is contained in:
2024-06-22 21:46:08 -06:00
parent b8f19d396f
commit b7129af524
2 changed files with 9 additions and 2 deletions

View File

@@ -130,6 +130,11 @@
options = [ "bind" ];
depends = [ "/mnt/pool" ];
};
"/export/btrfs" = {
device = "/mnt/btrfs";
options = [ "bind" ];
depends = [ "/mnt/pool" ];
};
};
services.nfs = {
server = {
@@ -138,6 +143,7 @@
/export workstation(rw,fsid=0,no_subtree_check)
/export/jawz workstation(rw,nohide,insecure,no_subtree_check)
/export/pool workstation(rw,nohide,insecure,no_subtree_check)
/export/btrfs workstation(rw,nohide,insecure,no_subtree_check)
'';
};
};