nvidia: disable hardware accel for discord, teams and steam

This commit is contained in:
Christoph Hollizeck 2024-10-30 10:54:18 +01:00
parent d912e3de8c
commit 83aa7913c3
4 changed files with 29 additions and 2 deletions

View file

@ -125,8 +125,8 @@ in
"dunst" "dunst"
"systemctl --user start plasma-polkit-agent" "systemctl --user start plasma-polkit-agent"
"[workspace 3 silent] steam" "[workspace 3 silent] steam --disable-gpu-compositing" # nvidia pls let me have nice things
"[workspace 2 silent] discord" "[workspace 2 silent] discord --disable-gpu-compositing"
"[workspace 4 silent] 1password" "[workspace 4 silent] 1password"
"[workspace 1 silent] zen" "[workspace 1 silent] zen"
]; ];

View file

@ -0,0 +1,9 @@
{ ... }:
final: prev: {
discord = prev.discord.overrideAttrs (oldAttrs: {
commandLineArgs = ''
--disable-gpu-compositing
'';
});
}

View file

@ -0,0 +1,9 @@
{ ... }:
final: prev: {
steam = prev.steam.overrideAttrs (oldAttrs: {
commandLineArgs = ''
--disable-gpu-compositing
'';
});
}

View file

@ -0,0 +1,9 @@
{ ... }:
final: prev: {
teams-for-linux = prev.teams-for-linux.overrideAttrs (oldAttrs: {
commandLineArgs = ''
--disable-gpu-compositing
'';
});
}