nixos/system/gamescope.nix

19 lines
463 B
Nix
Raw Normal View History

{ config, lib, pkgs, user, ... }:
{
2023-09-16 17:58:43 +01:00
imports = [ ./desktop.nix ./steam.nix ];
programs.steam.gamescopeSession.enable = true;
services.greetd.settings = rec {
default_session.command = ''
gamescope\
--nested-refresh 60\
--scaler auto --filter fsr --fsr-sharpness 10\
--hide-cursor-delay 5 --steam -- steam -gamepadui
'';
initial_session = {
inherit user;
inherit (default_session) command;
};
};
}