Add minecraft to games

This commit is contained in:
2024-06-17 16:53:33 -05:00
parent 3c28cb1d45
commit 8f66309008
2 changed files with 8 additions and 0 deletions

View File

@@ -96,6 +96,7 @@
games = {
enable = true;
lutris.enable = true;
minecraft.enable = true;
};
common.nil.enable = true;

View File

@@ -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 {