Small fix

This commit is contained in:
rasmus-kirk
2025-06-14 15:58:07 +02:00
parent 6f5f23769b
commit b161c94c34
+7 -2
View File
@@ -194,9 +194,14 @@ in {
};
};
networking.firewall = mkIf cfg.expose.https.enable {
networking.firewall = mkMerge [
(mkIf cfg.expose.https.enable {
allowedTCPPorts = [80 443];
};
})
(mkIf cfg.openFirewall {
allowedTCPPorts = [cfg.port];
})
];
util-nixarr.upnp = mkIf cfg.expose.https.upnp.enable {
enable = true;