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

12 lines
199 B
Nix
Raw Normal View History

2023-12-29 15:56:47 +01:00
{ config, pkgs, lib, ... }:
{
services.minecraft-server = {
enable = true;
package = pkgs.unstable.papermc;
eula = true;
jvmOpts = "-Xms2G -Xmx4G";
openFirewall = true;
};
}