aboutsummaryrefslogtreecommitdiff
path: root/modules/games/satisfactory.nix
blob: b47e5756ba524fd0edd5b705b42e69b7d8d5d40a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  config,
  lib,
  pkgs,
  ...
}:

{
  networking.firewall.allowedTCPPorts = [ 7777 ];
  networking.firewall.allowedUDPPorts = [ 7777 ];

  virtualisation.oci-containers.containers = {
    satisfactory = {
      image = "docker.io/wolveix/satisfactory-server:latest";
      autoStart = true;
      volumes = [ "/var/lib/satisfactory:/config" ];
      ports = [
        "178.63.224.10:7777:7777/udp"
        "178.63.224.10:7777:7777/tcp"
      ];
      environment = { };
    };
  };
}