Small fix
This commit is contained in:
@@ -194,9 +194,14 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall = mkIf cfg.expose.https.enable {
|
networking.firewall = mkMerge [
|
||||||
allowedTCPPorts = [80 443];
|
(mkIf cfg.expose.https.enable {
|
||||||
};
|
allowedTCPPorts = [80 443];
|
||||||
|
})
|
||||||
|
(mkIf cfg.openFirewall {
|
||||||
|
allowedTCPPorts = [cfg.port];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
util-nixarr.upnp = mkIf cfg.expose.https.upnp.enable {
|
util-nixarr.upnp = mkIf cfg.expose.https.upnp.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user