znc: open firewall with configured port

The configuration doesn't currently open the configured port, which is
less convenient than opening it.

(cherry picked from commit 83d89e9b22)
This commit is contained in:
Vaibhav Sagar
2017-09-10 11:30:46 +08:00
committed by Franz Pletz
parent 656f90717c
commit d2b00a6a85

View File

@@ -350,6 +350,8 @@ in
config = mkIf cfg.enable {
networking.firewall.allowedTCPPorts = [ cfg.port ];
systemd.services.znc = {
description = "ZNC Server";
wantedBy = [ "multi-user.target" ];