nixos/hqplayerd: also open controller port

This commit is contained in:
Bernardo Meurer 2021-08-12 02:36:42 -07:00
parent 7c122d687b
commit b43049dbd7
No known key found for this signature in database
GPG Key ID: F4C0D53B8D14C246

View File

@ -53,7 +53,7 @@ in
type = types.bool;
default = false;
description = ''
Open TCP port 8088 in the firewall for the server.
Opens ports needed for the WebUI and controller API.
'';
};
};
@ -77,7 +77,7 @@ in
};
networking.firewall = mkIf cfg.openFirewall {
allowedTCPPorts = [ 8088 ];
allowedTCPPorts = [ 8088 4321 ];
};
services.udev.packages = [ pkg ];