nixos/system/gamescope.nix
Evie Litherland-Smith a6f84783ab Reorganise desktop settings
Move some settings/packages from desktop.nix that should have been in
hyprland.nix and make desktop properly generally relevant - switch
gamescope.nix to import from desktop.nix now for less duplication

Remove xserver/lightdm to just use greetd again, less overhead needed

Switch gtklock back to swaylock, some issue with WLR implementations
after update but swaylock still works fine
2024-01-03 15:40:21 +00:00

18 lines
455 B
Nix

{ ... }: {
imports = [ ./desktop.nix ./steam.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;
}