gah
This commit is contained in:
parent
4afb6408e9
commit
c6e0540c9b
2 changed files with 20 additions and 2 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue