diff options
| author | Max Audron <audron@cocaine.farm> | 2024-10-18 16:49:46 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2024-10-18 16:49:46 +0200 |
| commit | 2fc8580e42916b82e49ca4f2cba32d1b6dbfa131 (patch) | |
| tree | bb54d52ac0c46f113ebf981694518fb6354fdeb4 /modules | |
| parent | switch to protonvpn for illegal activities (diff) | |
deploy satisfactory server
Diffstat (limited to '')
| -rw-r--r-- | modules/games/default.nix | 2 | ||||
| -rw-r--r-- | modules/games/satisfactory.nix | 21 |
2 files changed, 22 insertions, 1 deletions
diff --git a/modules/games/default.nix b/modules/games/default.nix index 952f69a..7c33658 100644 --- a/modules/games/default.nix +++ b/modules/games/default.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, ... }: { - imports = [ ./palworld.nix ./acc.nix ]; + imports = [ ./palworld.nix ./acc.nix ./satisfactory.nix ]; services.factorio = { enable = true; diff --git a/modules/games/satisfactory.nix b/modules/games/satisfactory.nix new file mode 100644 index 0000000..6864256 --- /dev/null +++ b/modules/games/satisfactory.nix @@ -0,0 +1,21 @@ +{ + config, + lib, + pkgs, + ... +}: + +{ + 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 = { }; + }; + }; +} |
