nvidia: disable hardware accel for discord, teams and steam
This commit is contained in:
parent
c74354a702
commit
97d8fc8342
4 changed files with 29 additions and 2 deletions
9
overlays/discord/default.nix
Normal file
9
overlays/discord/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
|
||||
final: prev: {
|
||||
discord = prev.discord.overrideAttrs (oldAttrs: {
|
||||
commandLineArgs = ''
|
||||
--disable-gpu-compositing
|
||||
'';
|
||||
});
|
||||
}
|
9
overlays/steam/default.nix
Normal file
9
overlays/steam/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
|
||||
final: prev: {
|
||||
steam = prev.steam.overrideAttrs (oldAttrs: {
|
||||
commandLineArgs = ''
|
||||
--disable-gpu-compositing
|
||||
'';
|
||||
});
|
||||
}
|
9
overlays/teams-for-linux/default.nix
Normal file
9
overlays/teams-for-linux/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
|
||||
final: prev: {
|
||||
teams-for-linux = prev.teams-for-linux.overrideAttrs (oldAttrs: {
|
||||
commandLineArgs = ''
|
||||
--disable-gpu-compositing
|
||||
'';
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue