{ config, lib, pkgs, ... }: { config = lib.mkIf (config.beancloud.software.desktop) { environment.systemPackages = with pkgs; [ (lib.mkIf config.beancloud.software.games.enable lutris) (lib.mkIf config.beancloud.software.games.enable prismlauncher) (lib.mkIf config.beancloud.software.games.enable quakespasm) (lib.mkIf config.beancloud.software.games.enable yquake2) (lib.mkIf config.beancloud.software.games.enable quake3e) ]; networking.firewall.allowedUDPPorts = [ (lib.mkIf config.beancloud.software.games.stardewvalley 24642) ]; }; }