diff --git a/src/main.nix b/src/main.nix index 84057c4..0b574ba 100644 --- a/src/main.nix +++ b/src/main.nix @@ -39,7 +39,20 @@ in { boot.tmp.useTmpfs = true; - programs.gamemode.enable = true; + programs.gamemode = { + enable = true; + settings = { + general = { + renice = 10; + igpu_power_threshold = -1; + }; + + custom = { + start = "${pkgs.libnotify}/bin/notify-send 'Note' 'gamemode started.'"; + end = "${pkgs.libnotify}/bin/notify-send 'Note' 'gamemode ended."; + }; + }; + }; environment.systemPackages = with pkgs; [ hypr-contrib.packages."${VARIABLES.system}".grimblast