From 2da4bab58f00553249b45024cb19c551f0b4bd86 Mon Sep 17 00:00:00 2001 From: sajenim Date: Wed, 14 Feb 2024 09:12:28 +0800 Subject: [PATCH] oops needed this --- nixos/viridian/services/mpd.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/viridian/services/mpd.nix b/nixos/viridian/services/mpd.nix index 55ebd23..6260520 100644 --- a/nixos/viridian/services/mpd.nix +++ b/nixos/viridian/services/mpd.nix @@ -26,4 +26,9 @@ /srv/multimedia/library/music 192.168.1.101(rw,nohide,insecure,no_subtree_check) ''; }; + networking.firewall = { + # # for NFSv3; view with `rpcinfo -p` + allowedTCPPorts = [ 111 2049 4000 4001 4002 20048 ]; + allowedUDPPorts = [ 111 2049 4000 4001 4002 20048 ]; + }; }