Files
nix-config/modules/home/games/packages.nix
T

22 lines
456 B
Nix
Raw Normal View History

2026-10-03 09:56:48 +02:00
{
flake.modules.homeManager.game-packages = {
pkgs,
lib,
config,
...
}:
with lib; let
cfg = config.home.games.game-packages;
in {
options.home.games.game-packages.enable = mkEnableOption "Install game launchers and clients";
config.home.packages = mkIf cfg.enable (with pkgs; [
atlauncher
heroic
openmw
openttd-jgrpp
moonlight-qt
vintagestory
]);
};
}