nixos-config/hosts/defiant/services/minecraft.nix

12 lines
199 B
Nix

{ config, pkgs, lib, ... }:
{
services.minecraft-server = {
enable = true;
package = pkgs.unstable.papermc;
eula = true;
jvmOpts = "-Xms2G -Xmx4G";
openFirewall = true;
};
}