Files
nix-config/modules/home/games/packages.nix
T
phundrak 0cb44b51e7 refactor: change to litterate config
Configuration is now held by the `.org` files. All `.nix` files are
tangled from the org-mode files.
2026-10-11 16:55:06 +02:00

24 lines
539 B
Nix

{
flake.modules.homeManager.game-packages = {
pkgs,
lib,
config,
...
}:
with lib; let
cfg = config.home.games.game-packages;
vs-cairn = pkgs.callPackage ../../../packages/cairn.nix {};
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
vs-cairn
]);
};
}