nixos-config/users/arion-compose.nix

20 lines
447 B
Nix
Raw Normal View History

2024-03-05 09:16:28 +00:00
{ pkgs, ... }:
{
project.name = "minecraft";
2024-03-05 09:16:28 +00:00
services = {
mc = {
2024-03-09 16:52:21 +00:00
service.image = "itzg/minecraft-server:java17-jdk";
service.volumes = [ "/home/podman/data:/data" ];
2024-03-09 16:52:21 +00:00
service.dns = [ "8.8.8.8" ];
service.network_mode = "host";
service.environment = {
EULA = "true";
2024-03-09 16:52:21 +00:00
TYPE = "FORGE";
VERSION = "1.20.1";
FORGE_VERSION = "47.2.20";
MEMORY = "16G";
};
2024-03-05 09:16:28 +00:00
};
};
}