diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-09-16 14:47:29 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-09-16 14:47:29 +0300 |
commit | 190bf349658ceb6f64c6d69cdccbddfb5491f894 (patch) | |
tree | 33a563624d4725cc042f7dc2f805078e8f34818e /modules/nixos/games | |
parent | 2023-09-16 (diff) |
2023-09-16
Diffstat (limited to 'modules/nixos/games')
-rw-r--r-- | modules/nixos/games/minecraft.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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]; }) ]; |