1
0
forked from extern/nix-config
donovanglover-nix-config/modules/gamemode.nix
2023-06-25 18:18:38 -04:00

19 lines
378 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.'";
};
};
};
}