This commit is contained in:
Sakooooo 2025-01-07 19:38:26 +04:00
parent 4e85532d04
commit 1b49c88965
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -7,11 +7,7 @@ in {
options.void.server.game.minecraft = { enable = mkEnableOption false; };
config = mkIf cfg.enable {
nixpkgs = {
overlays = [ inputs.nix-minecraft.overlay ];
config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkgs) [ "minecraft-server" ];
};
nixpkgs = { overlays = [ inputs.nix-minecraft.overlay ]; };
# services = {
services.minecraft-servers = {
enable = true;