diff options
author | sils <sils@sils.li> | 2023-06-19 16:24:53 +0200 |
---|---|---|
committer | sils <sils@sils.li> | 2023-06-19 16:25:58 +0200 |
commit | c54377606c68dc0f711f5e5baded0180fc87cdf9 (patch) | |
tree | d7b4d5336ce688d6eb8604c27ba9b0e3a3d501ac /system | |
parent | Fix(system/services): Ignore unnecessary inputs (diff) | |
download | nixos-server-c54377606c68dc0f711f5e5baded0180fc87cdf9.tar.gz nixos-server-c54377606c68dc0f711f5e5baded0180fc87cdf9.zip |
Fix(system/services): Allow minecraft-server, which is sadly unfree
Diffstat (limited to '')
-rw-r--r-- | system/services/minecraft/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
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; |