nixos/system/gamescope.nix
Evie Litherland-Smith c33367bdc7 Move games into system/games.nix (rename of steam.nix)
Add RetroArch with some cores, add to games workspace
2024-01-21 10:31:46 +00:00

18 lines
455 B
Nix

{ ... }: {
imports = [ ./desktop.nix ./games.nix ];
services = {
greetd.settings = let
command = ''
gamescope\
--nested-refresh 60\
--scaler auto --filter fsr --fsr-sharpness 10\
--hide-cursor-delay 5 --steam -- steam -gamepadui
'';
in {
default_session = { inherit command; };
initial_session = { inherit command; };
};
};
programs.steam.gamescopeSession.enable = true;
}