{ config, lib, pkgs, user, ... }: with lib; { options = { games = { enable = mkOption { type = types.bool; default = false; }; }; }; config = mkIf (config.games.enable) { environment.systemPackages = with pkgs; [ steam steam-run wineWowPackages.staging winetricks protontricks dotnet-sdk_7 ]; home-manager.users.${user}.home.packages = with pkgs; [ minetest prismlauncher ]; }; }