minecraft: Clean up use of pkgs.lib

This commit is contained in:
Tristan Daniël Maat 2021-05-16 23:07:18 +01:00
parent 458f6c7f7b
commit b8bf3bd3a2
Signed by: tlater
GPG key ID: 49670FD774E43268

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
let
minecraft-server-args = [
@ -52,7 +52,7 @@ let
in {
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (pkgs.lib.getName pkg) [ "forge-server" ];
builtins.elem (lib.getName pkg) [ "forge-server" ];
virtualisation.oci-containers.containers.minecraft-voor-kia = let
properties = ./configs/minecraft/voor-kia/server.properties;