aboutsummaryrefslogtreecommitdiff
path: root/modules/games/acc.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/games/acc.nix21
1 files changed, 21 insertions, 0 deletions
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 = { };
+ };
+ };
+}