From 42125d9b48a238d6ebb24f7db794bbcad3841379 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Fri, 4 Oct 2024 19:21:35 +0200 Subject: [PATCH] games: move gamemode to games --- hosts/default.nix | 1 + system/programs/gamemode.nix | 11 ----------- system/programs/games.nix | 10 +++++++++- 3 files changed, 10 insertions(+), 12 deletions(-) delete mode 100644 system/programs/gamemode.nix diff --git a/hosts/default.nix b/hosts/default.nix index 4414e65..b276e85 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -56,6 +56,7 @@ "${mod}/programs/kde.nix" "${mod}/hardware/nvidia.nix" + "${mod}/programs/games.nix" self.nixosModules.theme { diff --git a/system/programs/gamemode.nix b/system/programs/gamemode.nix deleted file mode 100644 index a411255..0000000 --- a/system/programs/gamemode.nix +++ /dev/null @@ -1,11 +0,0 @@ -{inputs, ...}: { - programs.gamemode = { - enable = true; - settings = { - general = { - softrealtime = "auto"; - renice = 15; - }; - }; - }; -} diff --git a/system/programs/games.nix b/system/programs/games.nix index 9b43fbe..8045465 100644 --- a/system/programs/games.nix +++ b/system/programs/games.nix @@ -7,7 +7,15 @@ pkgs.proton-ge-bin ]; }; - gamemode.enable = true; + gamemode = { + enable = true; + settings = { + general = { + softrealtime = "auto"; + renice = 15; + }; + }; + }; coolercontrol = { enable = true; nvidiaSupport = true;