nixos/hosts/gamescope.nix
Evie Litherland-Smith d885f51818 Update gamescope commands
Some flags were changed, also changed to verbose flags to make it easier
to parse in the future
2023-08-11 16:50:51 +01:00

32 lines
770 B
Nix

{ 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;
};
};
}