summaryrefslogtreecommitdiff
path: root/modules/gaming/minecraft.nix
blob: 5de20e61e31aa2146b02e2fe6d0e1eb8d969bae0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  lib,
  config,
  pkgs,
  ...
}: let
  inherit (lib) mkIf;
  cfg = config.gaming;
in {
  config = mkIf cfg.minecraft {
    home-manager.users.${config.user} = {
      home.packages = with pkgs; [
        prismlauncher
      ];
    };
  };
}