From ab26c5edfdb8bb79f102ecbb824b050d0036cb8c Mon Sep 17 00:00:00 2001 From: Ciapa Date: Tue, 27 Feb 2024 07:54:21 +0100 Subject: [PATCH] Adjust nfs mount --- hosts/phoenix.lewd.wtf/services/nfs.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/phoenix.lewd.wtf/services/nfs.nix b/hosts/phoenix.lewd.wtf/services/nfs.nix index 0f3bdc2..e5662e7 100644 --- a/hosts/phoenix.lewd.wtf/services/nfs.nix +++ b/hosts/phoenix.lewd.wtf/services/nfs.nix @@ -8,9 +8,10 @@ services.nfs.server.enable = true; services.nfs.server.exports = '' /export 192.168.0.20(rw,fsid=0,no_subtree_check) - /export/desktop 192.168.0.20(rw,nohide,insecure,no_subtree_check) + /export/desktop 192.168.0.20(rw,nohide,insecure,no_subtree_check,all_squash,anonuid=1000,anongid=1000) ''; - networking.firewall.allowedTCPPorts = [ 2049 ]; + networking.firewall.allowedTCPPorts = [ 111 662 892 2049 32769 32803 38467 ]; + networking.firewall.allowedUDPPorts = [ 111 662 892 2049 32769 32803 38467 ]; }