nix_config/home/modules/gaming.nix
2025-01-27 19:52:25 -06:00

21 lines
297 B
Nix

{
pkgs,
lib,
config,
...
}:
with lib; let
cfg = config.local.apps.gaming;
in {
options.local.apps.gaming = {
enable = mkEnableOption "gaming apps";
};
config = mkIf cfg.enable {
home.packages = [
pkgs.lutris
pkgs.openrct2
pkgs.prismlauncher
];
};
}