Add sarek and related NFS shares

This commit is contained in:
2023-10-03 01:25:33 +02:00
committed by Felix Albrigtsen
parent d1f1291ee5
commit e96146640d
4 changed files with 85 additions and 0 deletions

View File

@@ -39,4 +39,19 @@
# Network mounts (export)
fileSystems = {
"/export/defiant-backup" = {
device = "/tank/backup/defiant";
options = [ "bind" ];
};
};
services.nfs = {
enable = true;
exports = ''
/export 192.168.10.181(rw,fsid=0,insecure,no_subtree_check,async,no_root_squash)
/export/defiant-backup 192.168.10.181(rw,nohide,insecure,no_subtree_check,async,no_root_squash)
'';
};
}