switch minecraft-server to nixpkgs-unstable for 1.21.8
nixpkgs is currently at 1.21.5 only
This commit is contained in:
parent
c5207a5406
commit
828203ffe8
2 changed files with 17 additions and 8 deletions
|
|
@ -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" = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue