This commit is contained in:
Sakooooo 2025-01-07 19:39:06 +04:00
parent 1b49c88965
commit a67f224dbf
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -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;