From 952bf73ad7bdfa19f2e62cc8d0c80e2d418280e1 Mon Sep 17 00:00:00 2001 From: cswimr Date: Mon, 23 Dec 2024 12:30:01 -0500 Subject: [PATCH] add gamescope configuration --- nixos/gaming.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nixos/gaming.nix b/nixos/gaming.nix index df91194..95ce355 100644 --- a/nixos/gaming.nix +++ b/nixos/gaming.nix @@ -6,6 +6,15 @@ remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server }; + programs.gamescope = { + enable = true; + capSysNice = true; + args = [ + "--mangoapp" + "-w 1080" + "-h 1920" + ]; + }; programs.gamemode = { enable = true; enableRenice = true;