Compare commits
2 commits
b4187028fb
...
ebfa21a556
| Author | SHA1 | Date | |
|---|---|---|---|
| ebfa21a556 | |||
| 58301453a1 |
1 changed files with 26 additions and 0 deletions
|
|
@ -41,6 +41,28 @@ in {
|
|||
# ];
|
||||
|
||||
programs = {
|
||||
gamemode = {
|
||||
enable = true;
|
||||
enableRenice = true;
|
||||
settings = {
|
||||
general = {
|
||||
reaper_freq = 5;
|
||||
softrealtime = "on";
|
||||
renice = 0;
|
||||
};
|
||||
|
||||
# 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 'Game\'s on bitch.'";
|
||||
end = "${pkgs.libnotify}/bin/notify-send 'Stopped gaming? :('";
|
||||
};
|
||||
};
|
||||
};
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
|
|
@ -53,10 +75,14 @@ in {
|
|||
steam = {
|
||||
enable = true;
|
||||
|
||||
extraPackages = [
|
||||
pkgs.gamemode
|
||||
];
|
||||
extraCompatPackages = [
|
||||
pkgs.proton-ge-bin
|
||||
];
|
||||
|
||||
extest.enable = true;
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue