fruitbasket/modules/minecraft/default.nix

14 lines
278 B
Nix
Raw Normal View History

2024-07-22 13:26:53 +02:00
{ ... }:
{
services.minecraft-server = {
enable = true;
eula = true;
};
networking.firewall = {
extraInputRules = ''
ip saddr { 141.30.0.0/16, 141.76.0.0/16} tcp dport 25565 accept comment "Allow ldaps access from office nets and podman"
'';
};
}