forked from extern/nix-config
gamemode: Customize
This commit is contained in:
parent
77e16590eb
commit
d4f0a45da3
15
src/main.nix
15
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
|
||||
|
Loading…
Reference in New Issue
Block a user