diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-10-16 12:00:22 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-10-16 12:00:22 -0700 |
commit | 2dac20cab5dc3d50e82cf575d623be22a6c058ea (patch) | |
tree | 7f2888405e8ea6d495cd69aa9e30fba5ca7961ed | |
parent | 88902c97050fd66059feab31b5d03e7d81eeed45 (diff) | |
download | nix-2dac20cab5dc3d50e82cf575d623be22a6c058ea.tar nix-2dac20cab5dc3d50e82cf575d623be22a6c058ea.tar.gz nix-2dac20cab5dc3d50e82cf575d623be22a6c058ea.tar.bz2 nix-2dac20cab5dc3d50e82cf575d623be22a6c058ea.tar.lz nix-2dac20cab5dc3d50e82cf575d623be22a6c058ea.tar.xz nix-2dac20cab5dc3d50e82cf575d623be22a6c058ea.tar.zst nix-2dac20cab5dc3d50e82cf575d623be22a6c058ea.zip |
Restrict NFS to v4
Diffstat (limited to '')
-rw-r--r-- | hosts/arrakis/services.nix | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/hosts/arrakis/services.nix b/hosts/arrakis/services.nix index 8054fb8..b295116 100644 --- a/hosts/arrakis/services.nix +++ b/hosts/arrakis/services.nix @@ -64,11 +64,21 @@ jellyfin.enable = true; - nfs.server = { - enable = true; - exports = '' - /srv/nfs 192.168.1.0/24(ro,all_squash,insecure,crossmnt,subtree_check,fsid=0) - ''; + nfs = { + server = { + enable = true; + exports = '' + /srv/nfs 192.168.1.0/24(ro,all_squash,insecure,crossmnt,subtree_check,fsid=0) + ''; + }; + settings = { + nfsd = { + udp = false; + vers2 = false; + vers3 = false; + vers4 = true; + }; + }; }; nginx = { |