2024-01-03 15:40:21 +00:00
|
|
|
{ ... }: {
|
2024-01-21 10:31:46 +00:00
|
|
|
imports = [ ./desktop.nix ./games.nix ];
|
2023-12-25 19:23:56 +00:00
|
|
|
services = {
|
2024-01-03 15:40:21 +00:00
|
|
|
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; };
|
2023-08-05 18:06:21 +01:00
|
|
|
};
|
|
|
|
};
|
2023-12-25 19:23:56 +00:00
|
|
|
programs.steam.gamescopeSession.enable = true;
|
2023-08-05 18:06:21 +01:00
|
|
|
}
|