1
0
forked from extern/nix-config

gamemode: Customize

This commit is contained in:
Donovan Glover 2023-06-07 12:26:12 -04:00
parent 77e16590eb
commit d4f0a45da3
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -39,7 +39,20 @@ in {
boot.tmp.useTmpfs = true; 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; [ environment.systemPackages = with pkgs; [
hypr-contrib.packages."${VARIABLES.system}".grimblast hypr-contrib.packages."${VARIABLES.system}".grimblast