{ config, lib, pkgs, ... }: { imports = [ ./palworld.nix ./acc.nix ./satisfactory.nix ]; services.factorio = { enable = true; package = pkgs.master.factorio-headless; public = false; nonBlockingSaving = true; loadLatestSave = true; game-name = "cocaine.farm"; bind = "178.63.224.10"; }; services.xonotic = { enable = true; settings = { net_address = "178.63.224.10"; hostname = "cocaine.farm xonotic $g_xonoticversion"; }; }; services.minecraft-server = { enable = true; package = pkgs.unstable.papermc; eula = true; declarative = true; whitelist = import ./minecraft_whitelist.nix; jvmOpts = "-Xmx6144M -Xms6144M"; serverProperties = { motd = "Fun for the whole family!"; server-ip = "178.63.224.11"; server-port = 25565; enforce-secure-profile = false; difficulty = "hard"; enable-rcon = true; "rcon.password" = builtins.readFile ../../secrets/rcon; force-gamemode = true; white-list = true; level-type = "default"; spawn-protection = 0; }; }; virtualisation.oci-containers.containers = { minecraft_mods = { image = "itzg/minecraft-server"; autoStart = true; environment = { EULA = "true"; TYPE = "FABRIC"; VERSION = "1.21.8"; SEED = "-3691007458655063350"; }; ports = [ "25566:25565" ]; volumes = [ "/var/lib/minecraft_mods:/data" ]; }; }; }