diff options
author | Kenny Ballou <kballou@devnulllabs.io> | 2020-12-15 11:11:52 -0700 |
---|---|---|
committer | Kenny Ballou <kballou@devnulllabs.io> | 2020-12-15 11:11:52 -0700 |
commit | 95a2eb329a7ed9f258d10fbebf63490bbf38e6b6 (patch) | |
tree | f73509661705ffe0d0fd09cc4151cbe12ff8cbf9 | |
parent | ae9194440b3af0bc5ee8a67d0aa4d132c2bed1e7 (diff) | |
download | cfg.nix-95a2eb329a7ed9f258d10fbebf63490bbf38e6b6.tar.gz cfg.nix-95a2eb329a7ed9f258d10fbebf63490bbf38e6b6.tar.xz |
services: add nfs service configuration
Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
-rw-r--r-- | services/nfs.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/services/nfs.nix b/services/nfs.nix new file mode 100644 index 0000000..c6d5297 --- /dev/null +++ b/services/nfs.nix @@ -0,0 +1,16 @@ +{ ... }: +{ + services.nfs.server = { + enable = true; + exports = '' + /srv/documents 10.0.0.0/8(rw,sync) + /srv/downloads 10.0.0.0/8(rw,sync) + /srv/music 10.0.0.0/8(rw,sync) + /srv/pictures 10.0.0.0/8(rw,sync) + /srv/public 10.0.0.0/8(rw,sync) + /srv/sync 10.0.0.0/8(rw,sync) + /srv/videos 10.0.0.0/8(rw,sync) + /srv/workspace 10.0.0.0/8(rw,sync) + ''; + }; +} |