added launch.nix
This commit is contained in:
@@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user