london: add Minecraft
This commit is contained in:
parent
cf6a7cdfbf
commit
ccb7a77a1c
|
@ -72,8 +72,6 @@
|
|||
{
|
||||
programs.helix.enable = true;
|
||||
|
||||
home.packages = with pkgs; [ (cutter.withPlugins (plugins: with plugins; [ rz-ghidra ])) ];
|
||||
|
||||
my.desktop.sway.monitors = [
|
||||
{
|
||||
name = "Iiyama North America PL2470H 0x0000047B";
|
||||
|
@ -94,6 +92,7 @@
|
|||
my.development.tools.networking.enable = true;
|
||||
my.games.wine.enable = true;
|
||||
my.games.steam.enable = true;
|
||||
my.games.minecraft.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -16,9 +16,31 @@ with lib;
|
|||
type = types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
minecraft.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf config.my.games.wine.enable {
|
||||
home.packages = with pkgs; [ wineWowPackages.waylandFull ];
|
||||
config = {
|
||||
home.packages =
|
||||
[ ]
|
||||
++ (
|
||||
if config.my.games.wine.enable then
|
||||
[
|
||||
pkgs.wineWowPackages.waylandFull
|
||||
]
|
||||
else
|
||||
[ ]
|
||||
)
|
||||
++ (
|
||||
if config.my.games.minecraft.enable then
|
||||
[
|
||||
pkgs.prismlauncher
|
||||
]
|
||||
else
|
||||
[ ]
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue