mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Add minecraft server
This commit is contained in:
parent
03e58a9b84
commit
0d8536ae8f
1 changed files with 13 additions and 0 deletions
|
|
@ -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;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue