1
0
forked from extern/nix-config
donovanglover-nix-config/modules/gamemode.nix
Donovan Glover 62207c05fa
chore: Formatting
Also removes redundant comments.
2023-06-26 18:38:45 -04:00

20 lines
379 B
Nix

{ 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.'";
};
};
};
}