modularized firewall logic
This commit is contained in:
@@ -6,7 +6,6 @@ in
|
||||
{
|
||||
options.my.servers.tranga = setup.mkOptions "tranga" "tranga" 9555;
|
||||
config = {
|
||||
networking.firewall.allowedTCPPorts = [ cfg.port ];
|
||||
virtualisation.oci-containers.containers = lib.mkIf cfg.enable {
|
||||
tranga-api = {
|
||||
image = "glax/tranga-api:latest";
|
||||
|
||||
Reference in New Issue
Block a user