feat(servivi): add nfs exports for cluster
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
711d088988
commit
17ecb8975c
1 changed files with 13 additions and 0 deletions
13
devices/servivi/modules/nfs.nix
Normal file
13
devices/servivi/modules/nfs.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
# TODO: move this to NAS?
|
||||
|
||||
{...}: {
|
||||
services.nfs.server = {
|
||||
enable = true;
|
||||
createMountPoints = true;
|
||||
|
||||
exports = ''
|
||||
/export 10.0.0.244(rw,crossmnt,fsid=0,no_root_squash) 10.0.0.159(rw,crossmnt,fsid=0,no_root_squash)
|
||||
/export/caddy 10.0.0.244(rw,nohide,no_root_squash) 10.0.0.159(rw,nohide,no_root_squash)
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue