{ config, lib, pkgs, ... }: { virtualisation.oci-containers.containers = { acc-server = { image = "docker.io/grimsi/accserver:latest"; autoStart = true; volumes = [ "/var/lib/acc-server:/opt/server" ]; ports = [ "178.63.224.10:9231:9231/udp" "178.63.224.10:9232:9232/tcp" ]; environment = { }; }; }; networking.firewall.allowedTCPPorts = [ 9232 ]; networking.firewall.allowedUDPPorts = [ 9231 ]; }