From 58301453a10981b092245fc2b21ec2429c28ebdd Mon Sep 17 00:00:00 2001 From: Jurn Wubben Date: Thu, 21 Aug 2025 12:11:53 +0200 Subject: [PATCH 1/2] Steam: enabled extest and added gamemode package to steamenv --- system/programs/games.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/system/programs/games.nix b/system/programs/games.nix index 05f61f1..6cc36a9 100644 --- a/system/programs/games.nix +++ b/system/programs/games.nix @@ -53,10 +53,14 @@ in { steam = { enable = true; + extraPackages = [ + pkgs.gamemode + ]; extraCompatPackages = [ pkgs.proton-ge-bin ]; + extest.enable = true; gamescopeSession.enable = true; }; }; From ebfa21a55608b90bcc068b8ec91adb1d75ee67ce Mon Sep 17 00:00:00 2001 From: Jurn Wubben Date: Thu, 21 Aug 2025 22:47:46 +0200 Subject: [PATCH 2/2] games: added gamemode with settings --- system/programs/games.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/system/programs/games.nix b/system/programs/games.nix index 6cc36a9..05b300f 100644 --- a/system/programs/games.nix +++ b/system/programs/games.nix @@ -41,6 +41,28 @@ in { # ]; programs = { + gamemode = { + enable = true; + enableRenice = true; + settings = { + general = { + reaper_freq = 5; + softrealtime = "on"; + renice = 0; + }; + + # WARNING: GPU optimisations have the potential to damage hardware! + gpu = { + apply_gpu_optimisations = "accept-responsibility"; + gpu_device = 0; + amd_performance_level = "high"; + }; + custom = { + start = "${pkgs.libnotify}/bin/notify-send 'Game\'s on bitch.'"; + end = "${pkgs.libnotify}/bin/notify-send 'Stopped gaming? :('"; + }; + }; + }; gamescope = { enable = true; capSysNice = true;