{ config, lib, pkgs, ... }: let sessionCommand = " gamescope -w 1920 -h 1080 -W 3840 -H 2160 -U -f --hdr-enabled -e -- steam -gamepadui"; in { imports = [ ./desktop.nix ]; services = { blueman.enable = true; greetd.settings = { default_session.command = sessionCommand; initial_session.command = sessionCommand; }; }; programs = { xwayland.enable = true; gamescope = { enable = true; capSysNice = true; }; steam = { enable = true; remotePlay.openFirewall = true; gamescopeSession.enable = true; }; }; }