This commit is contained in:
Chris Cochrun 2025-10-30 15:20:37 -05:00
parent 4afb6408e9
commit c6e0540c9b
2 changed files with 20 additions and 2 deletions

View file

@ -85,7 +85,26 @@ with lib;
enable = true;
gamescopeSession.enable = true;
};
programs.gamemode.enable = true;
programs.gamemode = {
enable = true;
settings = {
general = {
renice = 10;
};
# Warning: GPU optimisations have the potential to damage hardware
gpu = {
apply_gpu_optimisations = "accept-responsibility";
gpu_device = 0;
amd_performance_level = "high";
};
custom = {
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
};
};
};
environment.systemPackages = with pkgs; [
airshipper
lutris

@ -1 +0,0 @@
Subproject commit 63ec2f6b300977b057400584b0de8082015eaaa9