diff options
| author | Max Audron <audron@cocaine.farm> | 2024-07-03 17:36:58 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2024-07-03 17:36:58 +0200 |
| commit | 871ff4ee580eab18097c0fc54ede784bba43c259 (patch) | |
| tree | 81feda61e14f995086892bc153719773f5e0b862 /modules/games/acc.nix | |
| parent | add rtmp and laplace (diff) | |
add acc server
Diffstat (limited to 'modules/games/acc.nix')
| -rw-r--r-- | modules/games/acc.nix | 21 |
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 = { }; + }; + }; +} |
