From a67f224dbfd8173a510d5dc2428e3c1a28cb504f Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 7 Jan 2025 19:39:06 +0400 Subject: [PATCH] wo --- modules/server/game/minecraft/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/server/game/minecraft/default.nix b/modules/server/game/minecraft/default.nix index acc90f04..91c624e1 100644 --- a/modules/server/game/minecraft/default.nix +++ b/modules/server/game/minecraft/default.nix @@ -7,7 +7,11 @@ in { options.void.server.game.minecraft = { enable = mkEnableOption false; }; config = mkIf cfg.enable { - nixpkgs = { overlays = [ inputs.nix-minecraft.overlay ]; }; + nixpkgs = { + overlays = [ inputs.nix-minecraft.overlay ]; + config.allowUnfreePredicate = pkg: + builtins.elem (lib.getName pkg) [ "minecraft-server" ]; + }; # services = { services.minecraft-servers = { enable = true;