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 ]; + }; }