From 871ff4ee580eab18097c0fc54ede784bba43c259 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Wed, 3 Jul 2024 17:36:58 +0200 Subject: add acc server --- modules/games/acc.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 modules/games/acc.nix (limited to 'modules/games/acc.nix') diff --git a/modules/games/acc.nix b/modules/games/acc.nix new file mode 100644 index 0000000..c9a50eb --- /dev/null +++ b/modules/games/acc.nix @@ -0,0 +1,21 @@ +{ + 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 = { }; + }; + }; +} -- cgit v1.2.3