diff --git a/systems/x86_64-linux/drivebystation-nix/default.nix b/systems/x86_64-linux/drivebystation-nix/default.nix index 608a704..ceea50f 100644 --- a/systems/x86_64-linux/drivebystation-nix/default.nix +++ b/systems/x86_64-linux/drivebystation-nix/default.nix @@ -88,6 +88,15 @@ in # networking.firewall.enable = false; programs.steam.gamescopeSession.enable = true; programs.gamescope.enable = true; + programs.steam.gamescopeSession = { + enable = true; + args = [ + "-w" "1920" + "-h" "1080" + "-r" "172" + + ]; + }; # Install firefox. programs.firefox.enable = true; @@ -102,9 +111,22 @@ in ntfs3g ntfsprogs synergy + mangohud my-namespace.udev-steelseries my-namespace.hello kde-rounded-corners + (pkgs.writeShellScriptBin "switch-to-desktop" '' + #!/bin/sh + # Kill Steam and return to display manager + pkill steam || true + pkill gamescope || true + # End the session cleanly + loginctl terminate-session "$XDG_SESSION_ID" + '') + (pkgs.writeShellScriptBin "steamos-session-select" '' + #!/bin/sh + exec switch-to-desktop + '') # stuff I installed to try to get gamescope to work to no avail Gamescope is just broken it seems. # pkgs.mesa # pkgs.vulkan-loader