From b5e3da647402ec68754a27131079dd060cbe25b5 Mon Sep 17 00:00:00 2001 From: IogaMaster Date: Sat, 25 Nov 2023 22:15:33 -0700 Subject: [PATCH] feat: add gdm session for game mode --- modules/nixos/apps/steam/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/nixos/apps/steam/default.nix b/modules/nixos/apps/steam/default.nix index b26d7ad..f33a086 100644 --- a/modules/nixos/apps/steam/default.nix +++ b/modules/nixos/apps/steam/default.nix @@ -39,5 +39,14 @@ in { gamescope -H 1080 -b -f -e --adaptive-sync --rt -r 60 --expose-wayland -- steam -gamepadui -steamdeck -steamos -fulldesktopres -tenfoot '') ]; + + services.xserver.windowManager.session = [ + { + name = "Gaming Mode"; + start = '' + steamos + ''; + } + ]; }; }