This commit is contained in:
cnst
2024-07-03 20:32:23 +02:00
parent 789d2d0867
commit cca2745dfa
620 changed files with 49 additions and 12 deletions

View File

@@ -0,0 +1,19 @@
{pkgs, ...}: {
programs.gamemode = {
enable = true;
settings = {
general = {
renice = 10;
};
gpu = {
apply_gpu_optimisations = "accept-responsibility";
gpu_device = 1;
amd_performance_level = "high";
};
custom = {
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
};
};
};
}