Refactor gamescope
This commit is contained in:
parent
7278337adb
commit
11f8b66b91
2 changed files with 17 additions and 2 deletions
|
|
@ -22,6 +22,17 @@
|
||||||
|
|
||||||
services.sunshine.autoStart = true;
|
services.sunshine.autoStart = true;
|
||||||
|
|
||||||
|
programs.steam.gamescopeSession = {
|
||||||
|
enable = true;
|
||||||
|
args = [
|
||||||
|
"--prefer-output"
|
||||||
|
"DP-1,*"
|
||||||
|
"--rt"
|
||||||
|
"--adaptive-sync"
|
||||||
|
"--steam"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
home-manager.users.pedro.wayland.windowManager.hyprland.settings = {
|
home-manager.users.pedro.wayland.windowManager.hyprland.settings = {
|
||||||
monitor = [
|
monitor = [
|
||||||
"DP-2, 1920x1080@60, 0x0, 1"
|
"DP-2, 1920x1080@60, 0x0, 1"
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,16 @@
|
||||||
{ pkgs, lib, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remotePlay.openFirewall = true;
|
remotePlay.openFirewall = true;
|
||||||
dedicatedServer.openFirewall = false;
|
dedicatedServer.openFirewall = false;
|
||||||
|
gamescopeSession.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.gamescope ];
|
programs.gamescope = {
|
||||||
|
enable = true;
|
||||||
|
capSysNice = true;
|
||||||
|
};
|
||||||
|
|
||||||
programs.gamemode.enable = true;
|
programs.gamemode.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue