switch minecraft-server to nixpkgs-unstable for 1.21.8

nixpkgs is currently at 1.21.5 only
This commit is contained in:
Emile Clark-Boman 2025-08-03 00:50:55 +10:00
parent c5207a5406
commit 828203ffe8
2 changed files with 17 additions and 8 deletions

View file

@ -1,10 +1,16 @@
{pkgs, ...}: {
{
pkgs,
pkgs-unstable,
...
}: {
services.minecraft-server = {
enable = true;
package = pkgs-unstable.minecraft-server; # use latest version only!
declarative = true;
eula = true;
openFirewall = false; # do this manually instead
declarative = true;
whitelist = {
"SECRET1" = "";