From 5ec4aab697dbde2d5c2c021e23d859e1deb7a70c Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 1 Jul 2023 22:43:55 -0400 Subject: [PATCH] meta: Remove gamemode As far as I can tell, there isn't any noticeable performance difference with the hardware I use. --- modules/default.nix | 1 - modules/gamemode.nix | 19 ------------------- setup.nix | 1 - 3 files changed, 21 deletions(-) delete mode 100644 modules/gamemode.nix diff --git a/modules/default.nix b/modules/default.nix index 2015b93..ef11317 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -5,7 +5,6 @@ ./dual-function-keys.nix ./fish.nix ./fonts.nix - ./gamemode.nix ./greetd.nix ./home-manager.nix ./hyprland.nix diff --git a/modules/gamemode.nix b/modules/gamemode.nix deleted file mode 100644 index 336f7b8..0000000 --- a/modules/gamemode.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ pkgs, ... }: - -{ - programs.gamemode = { - enable = true; - - settings = { - general = { - renice = 10; - igpu_power_threshold = -1; - }; - - custom = { - start = "${pkgs.libnotify}/bin/notify-send 'Note' 'gamemode started from host.'"; - end = "${pkgs.libnotify}/bin/notify-send 'Note' 'gamemode ended from host.'"; - }; - }; - }; -} diff --git a/setup.nix b/setup.nix index 4267857..e9dd790 100644 --- a/setup.nix +++ b/setup.nix @@ -5,7 +5,6 @@ ./overlays ./modules/fish.nix ./modules/fonts.nix - ./modules/gamemode.nix ./modules/home-manager.nix ./modules/locale.nix ./modules/neovim.nix