nixos/zoneminder: open telnet port for remote admin

This commit is contained in:
Peter Hoeg 2019-06-11 14:30:45 +08:00
parent 7c119ba48b
commit 574ec28ef1

View File

@ -200,7 +200,10 @@ in {
"zoneminder/80-nixos.conf".source = configFile;
};
networking.firewall.allowedTCPPorts = lib.mkIf cfg.openFirewall [ cfg.port ];
networking.firewall.allowedTCPPorts = lib.mkIf cfg.openFirewall [
cfg.port
6802 # zmtrigger
];
services = {
fcgiwrap = lib.mkIf useNginx {