Add minecraft server

This commit is contained in:
Paul-Henri Froidmont 2022-02-22 18:47:38 +01:00
parent 03e58a9b84
commit 0d8536ae8f
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE

View file

@ -64,4 +64,17 @@
check host webmail with address webmail.banditlair.com check host webmail with address webmail.banditlair.com
if failed port 443 protocol https with timeout 20 seconds then alert if failed port 443 protocol https with timeout 20 seconds then alert
''; '';
nixpkgs.config.allowUnfree = true;
services.minecraft-server = {
enable = true;
eula = true;
openFirewall = true;
declarative = true;
serverProperties = {
online-mode = false;
force-gamemode = true;
};
};
} }