mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 16:23:57 +01:00
62207c05fa
Also removes redundant comments.
20 lines
379 B
Nix
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.'";
|
|
};
|
|
};
|
|
};
|
|
}
|