nixos/system/gamescope.nix

28 lines
593 B
Nix

{ config, lib, pkgs, user ? "xenia", ... }:
let
sessionCommand = ''
gamescope\
--nested-refresh 60\
--scaler auto --filter fsr --fsr-sharpness 10\
--hide-cursor-delay 5 --steam -- steam -gamepadui
'';
in {
imports = [ ./desktop.nix ./steam.nix ];
services = {
blueman.enable = true;
greetd = {
enable = true;
settings = {
default_session = {
inherit user;
command = sessionCommand;
};
initial_session = {
inherit user;
command = sessionCommand;
};
};
};
};
}