about summary refs log tree commit diff
path: root/modules/nixos/games
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/games')
-rw-r--r--modules/nixos/games/minecraft.nix4
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];
     })
   ];

Consider giving Nix/NixOS a try! <3