about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2019-08-26 14:47:32 +0800
committerGitHub <noreply@github.com>2019-08-26 14:47:32 +0800
commitf729a79eae856c184b276da72f56210906f24ff5 (patch)
treeb0d72da45366c417e7442e4792cf9f4730d53172 /nixos
parent83fe81394133fdb67048f94bf54264c6e1b9a30d (diff)
parent574ec28ef17b91c883c1c6c6a389c8653a2428dd (diff)
downloadnixlib-f729a79eae856c184b276da72f56210906f24ff5.tar
nixlib-f729a79eae856c184b276da72f56210906f24ff5.tar.gz
nixlib-f729a79eae856c184b276da72f56210906f24ff5.tar.bz2
nixlib-f729a79eae856c184b276da72f56210906f24ff5.tar.lz
nixlib-f729a79eae856c184b276da72f56210906f24ff5.tar.xz
nixlib-f729a79eae856c184b276da72f56210906f24ff5.tar.zst
nixlib-f729a79eae856c184b276da72f56210906f24ff5.zip
Merge pull request #62974 from peterhoeg/f/zmtrigger
zoneminder: add perlPackages.DeviceSerialPort for zmtrigger.pl
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/misc/zoneminder.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/zoneminder.nix b/nixos/modules/services/misc/zoneminder.nix
index 6e83d47df1ca..bf38b9ad7a2d 100644
--- a/nixos/modules/services/misc/zoneminder.nix
+++ b/nixos/modules/services/misc/zoneminder.nix
@@ -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 {