Revert "Reenable gpu for electron apps"

This reverts commit f64087901c.
This commit is contained in:
SebastianStork 2024-06-06 17:50:32 +02:00
parent a07d57f4c7
commit 45f1697f43
5 changed files with 36 additions and 4 deletions

View file

@ -28,12 +28,12 @@
pkgs.hunspell pkgs.hunspell
pkgs.hunspellDicts.de_DE pkgs.hunspellDicts.de_DE
pkgs.hunspellDicts.en_US pkgs.hunspellDicts.en_US
pkgs.webcord
pkgs.spotify
pkgs.obsidian
pkgs.marktext
wrappers.bottom wrappers.bottom
wrappers.spotify
wrappers.obsidian
wrappers.marktext
wrappers.webcord
(wrappers.kitty { inherit (config.myConfig) theme; }) (wrappers.kitty { inherit (config.myConfig) theme; })
wrappers.firefox wrappers.firefox
]; ];

8
wrappers/marktext.nix Normal file
View file

@ -0,0 +1,8 @@
{ assembleWrapper, moduleArgs, ... }:
let
inherit (moduleArgs) pkgs;
in
assembleWrapper {
basePackage = pkgs.marktext;
flags = [ "--disable-gpu" ];
}

8
wrappers/obsidian.nix Normal file
View file

@ -0,0 +1,8 @@
{ assembleWrapper, moduleArgs, ... }:
let
inherit (moduleArgs) pkgs;
in
assembleWrapper {
basePackage = pkgs.obsidian;
flags = [ "--disable-gpu" ];
}

8
wrappers/spotify.nix Normal file
View file

@ -0,0 +1,8 @@
{ assembleWrapper, moduleArgs, ... }:
let
inherit (moduleArgs) pkgs;
in
assembleWrapper {
basePackage = pkgs.spotify;
flags = [ "--disable-gpu" ];
}

8
wrappers/webcord.nix Normal file
View file

@ -0,0 +1,8 @@
{ assembleWrapper, moduleArgs, ... }:
let
inherit (moduleArgs) pkgs;
in
assembleWrapper {
basePackage = pkgs.webcord;
flags = [ "--disable-gpu" ];
}