{ config, lib, pkgs, ... }: with lib; let debug = true; #version = "latest"; # version = "142c079"; # 2 years ago. # version = "v1.14.0"; # 2 years ago. version = "v1.13.2"; # 2 years ago. in { virtualisation.oci-containers = { containers.screeps = { volumes = [ "/srv/screeps:/screeps" (optionalString debug "/srv/screeps-tmp:/tmp") ]; environment.TZ = "Europe/Berlin"; image = "screepers/screeps-launcher:${version}"; ports = [ "21025:21025" ]; }; }; systemd.services.docker-screeps = let configuration = builtins.toJSON { steamKey = "keyFromStep3"; version = "latest"; mods = [ #"screepsmod-auth" #"screepsmod-admin-utils" #"screepsmod-mongo" ]; bots = { simplebot = "screepsbot-zeswarm"; }; serverConfig = { welcomeText = "