nixos-configs/devices/servivi/modules/nfs.nix

14 lines
354 B
Nix
Raw Normal View History

# 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)
'';
};
}