Merge pull request #182535 from lovesegfault/roon-hqplayerd-fixes

nixos/{roon,hqplayerd}: small fixes
This commit is contained in:
Bernardo Meurer 2022-07-28 00:27:15 -07:00 committed by GitHub
commit 2d070e3213
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -133,7 +133,7 @@ in
users.users = {
hqplayer = {
description = "hqplayer daemon user";
extraGroups = [ "audio" ];
extraGroups = [ "audio" "video" ];
group = "hqplayer";
uid = config.ids.uids.hqplayer;
};

View File

@ -53,10 +53,12 @@ in {
networking.firewall = mkIf cfg.openFirewall {
allowedTCPPortRanges = [
{ from = 9100; to = 9200; }
{ from = 9330; to = 9332; }
{ from = 9330; to = 9339; }
{ from = 30000; to = 30010; }
];
allowedUDPPorts = [ 9003 ];
extraCommands = ''
## IGMP / Broadcast ##
iptables -A INPUT -s 224.0.0.0/4 -j ACCEPT
iptables -A INPUT -d 224.0.0.0/4 -j ACCEPT
iptables -A INPUT -s 240.0.0.0/5 -j ACCEPT