nixos/system/gamescope.nix

28 lines
593 B
Nix
Raw Normal View History

{ 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 {
2023-09-16 17:58:43 +01:00
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;
};
};
};
};
}