From 190bf349658ceb6f64c6d69cdccbddfb5491f894 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sat, 16 Sep 2023 14:47:29 +0300 Subject: 2023-09-16 --- modules/nixos/games/minecraft.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/nixos/games/minecraft.nix') diff --git a/modules/nixos/games/minecraft.nix b/modules/nixos/games/minecraft.nix index b8a2949..f738c33 100644 --- a/modules/nixos/games/minecraft.nix +++ b/modules/nixos/games/minecraft.nix @@ -32,6 +32,8 @@ in { config = mkMerge [ (mkIf cfg.client.enable { hm.home.packages = with pkgs; [pollymc-unwrapped]; + + nixpkgs.overlays = [inputs.pollymc.overlays.default]; }) (mkIf cfg.server.enable { nixfiles.modules.common.nix.allowedUnfreePackages = ["minecraft-server"]; @@ -80,6 +82,8 @@ in { }; }; + nixpkgs.overlays = [inputs.nix-minecraft.overlay]; + my.extraGroups = [config.services.minecraft-servers.group]; }) ]; -- cgit 1.4.1