mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
refactor(mosquitto): move to utsuho
This commit is contained in:
parent
5658105812
commit
d6b8883c24
15 changed files with 218 additions and 95 deletions
|
|
@ -76,7 +76,10 @@ in {
|
|||
in
|
||||
mkIf cfg.enable {
|
||||
interfaces.local = {
|
||||
allowedTCPPorts = mkIf (!cfg.homekit.openFirewall) homekitTcp;
|
||||
allowedTCPPorts = mkMerge [
|
||||
(mkIf (!cfg.homekit.openFirewall) homekitTcp)
|
||||
(mkIf (!cfg.openFirewall) [ cfg.config.http.server_port ])
|
||||
];
|
||||
allowedUDPPortRanges = mkIf (!cfg.cast.openFirewall) castUdpRanges;
|
||||
};
|
||||
allowedTCPPorts = mkIf cfg.homekit.openFirewall homekitTcp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue