From c54377606c68dc0f711f5e5baded0180fc87cdf9 Mon Sep 17 00:00:00 2001 From: sils Date: Mon, 19 Jun 2023 16:24:53 +0200 Subject: Fix(system/services): Allow minecraft-server, which is sadly unfree --- system/services/minecraft/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'system/services/minecraft/default.nix') diff --git a/system/services/minecraft/default.nix b/system/services/minecraft/default.nix index 89b9ba9..64f2ee7 100644 --- a/system/services/minecraft/default.nix +++ b/system/services/minecraft/default.nix @@ -1,4 +1,8 @@ -{...}: { +{lib, ...}: { + nixpkgs.config.allowUnfreePredicate = pkg: + builtins.elem (lib.getName pkg) [ + "minecraft-server" + ]; services.minecraft-server = { enable = true; declarative = true; -- cgit 1.4.1