znc: open firewall with configured port

The configuration doesn't currently open the configured port, which is
less convenient than opening it.
This commit is contained in:
Vaibhav Sagar 2017-09-10 11:30:46 +08:00
parent 15502421c7
commit 83d89e9b22

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