From 85e44ca8c5a8a609602abaf21dfedd669f048678 Mon Sep 17 00:00:00 2001 From: Liam Malone Date: Thu, 25 Jun 2026 23:56:09 +0100 Subject: [PATCH] add gamemode to graphical system config --- flake.lock | 8 ++++---- hosts/graphical/configuration.nix | 12 ++++++++++++ 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 907f9b5..a3eee57 100644 --- a/flake.lock +++ b/flake.lock @@ -585,11 +585,11 @@ ] }, "locked": { - "lastModified": 1781520546, - "narHash": "sha256-lbOGkE+QBYXMcrFHANnXIUuK9ZUSKBhSRHHYxaVsOiM=", + "lastModified": 1781820373, + "narHash": "sha256-btxtvKgOS3KV1lULCewi5lPgn39eNRsE8Z9n05ri04I=", "ref": "refs/heads/master", - "rev": "1406c189fc11aeced52392e416533a6d631fd016", - "revCount": 5, + "rev": "4d25fef18399ab479853ab49c7456e41abd1a8f1", + "revCount": 6, "type": "git", "url": "ssh://git@ssh.git.ptrtoliam.dev:2222/liam/nix-pkgs.git" }, diff --git a/hosts/graphical/configuration.nix b/hosts/graphical/configuration.nix index ffc768a..370f421 100644 --- a/hosts/graphical/configuration.nix +++ b/hosts/graphical/configuration.nix @@ -127,6 +127,18 @@ ''; }; + gamemode = { + enable = true; + enableRenice = true; + + settings = { + general = { + softrealtime = "auto"; + renice = 10; + }; + }; + }; + steam = { enable = true; remotePlay.openFirewall = true;