{ config, lib, pkgs, ... }: let sessionCommand = '' gamescope\ --output-width 3840 --output-height 2160 --framerate-limit 60\ --nested-width 1920 --nested-height 1080 --nested-refresh 60\ --scaler auto --filter fsr --fsr-sharpness 10\ --hide-cursor-delay 5 --steam -- 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; }; }; }