2024-01-30 14:21:50 +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 {
|
2024-01-30 14:21:50 +00:00
|
|
|
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
|
|
|
}
|