aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/arrakis/services.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/arrakis/services.nix')
-rw-r--r--hosts/arrakis/services.nix20
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 = {