nixos/roon-server: open TCP ports 9330-9332 in firewall

During the bump to 1.8-880 these became necessary, debugging took place
in the [relevant PR][1].

[1]: https://github.com/NixOS/nixpkgs/pull/152251
This commit is contained in:
Bernardo Meurer 2022-01-09 16:40:24 -03:00
parent 2ac65dd85b
commit 63c1c30753
No known key found for this signature in database
GPG Key ID: F4C0D53B8D14C246

View File

@ -51,7 +51,10 @@ in {
};
networking.firewall = mkIf cfg.openFirewall {
allowedTCPPortRanges = [{ from = 9100; to = 9200; }];
allowedTCPPortRanges = [
{ from = 9100; to = 9200; }
{ from = 9330; to = 9332; }
];
allowedUDPPorts = [ 9003 ];
extraCommands = ''
iptables -A INPUT -s 224.0.0.0/4 -j ACCEPT