blob: 5e91f964ab89154bb4d886f14774528ed5f12f92 [file] [log] [blame]
Skyler Grey4fe40b42024-03-04 18:39:57 +00001{ config, lib, pkgs, ... }: {
2 options = {
3 chimera.games.minecraft = {
4 enable = lib.mkEnableOption "Enable Minecraft";
5 launcher.package = lib.mkOption {
6 type = lib.types.package;
7 default = pkgs.prismlauncher;
8 example = pkgs.atlauncher;
9 };
10 };
11 };
12
13 config = {
14 home.packages = lib.mkIf config.chimera.games.minecraft.enable [ config.chimera.games.minecraft.launcher.package ];
15 };
16}