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;