update firewall when enabled.
This commit is contained in:
parent
0b65a1cbed
commit
a12dcd6493
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
networking.firewall = {
|
||||||
|
allowedTCPPorts = [ 8080 8443 8880 8843 ];
|
||||||
|
allowedUDPPorts = [ 3478 ];
|
||||||
|
};
|
||||||
virtualisation.oci-containers.containers.${app} = {
|
virtualisation.oci-containers.containers.${app} = {
|
||||||
image = "${image}";
|
image = "${image}";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
Loading…
Reference in a new issue