nixos-config/users/arion-compose.nix

20 lines
447 B
Nix

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