added launch.nix

This commit is contained in:
kenji
2025-07-17 15:04:47 -05:00
parent 88b4ff68a6
commit f6156cad67
2 changed files with 26 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
{pkgs, ...}: {
programs = {
gamescope = {
enable = true;
capSysNice = true;
};
steam = {
enable = true;
gamescopeSession.enable = true;
};
};
hardware.xone.enable = true;
environment = {
systemPackages = pkgs.mangohud;
loginShellInit = ''
[[ "$(tty)" = "/dev/tty1" ]] && ./gs.sh
'';
};
}