diff --git a/flake.nix b/flake.nix index deb6057..b073dc9 100644 --- a/flake.nix +++ b/flake.nix @@ -96,6 +96,7 @@ games = { enable = true; lutris.enable = true; + minecraft.enable = true; }; common.nil.enable = true; diff --git a/modules/nix/games.nix b/modules/nix/games.nix index ca2e7da..290a2d3 100644 --- a/modules/nix/games.nix +++ b/modules/nix/games.nix @@ -33,6 +33,12 @@ in default = true; }; + minecraft.enable = mkOption { + description = "Whether to install minecraft launcher"; + type = types.bool; + default = false; + }; + gamescope.enable = mkOption { description = "Whether to install gamescope"; type = types.bool; @@ -51,6 +57,7 @@ in ++ optional cfg.protonup.enable protonup-qt ++ optional cfg.gamescope.enable gamescope ++ optional cfg.discord.enable vesktop + ++ optional cfg.minecraft.enable prismlauncher ++ optionals cfg.lutris.enable [ lutris wine ]; programs.steam = mkIf cfg.steam.enable {