Re-enable gpu acceleration for electron apps

This commit is contained in:
SebastianStork 2024-07-16 00:31:14 +02:00
parent ca1357b2d4
commit bd8e8cbea1
5 changed files with 3 additions and 51 deletions

View file

@ -21,11 +21,11 @@
pkgs.jetbrains.idea-community pkgs.jetbrains.idea-community
pkgs.celluloid pkgs.celluloid
pkgs.onlyoffice-bin_latest pkgs.onlyoffice-bin_latest
pkgs.spotify
pkgs.obsidian
pkgs.webcord
wrappers.bottom wrappers.bottom
wrappers.spotify
wrappers.obsidian
wrappers.webcord
(wrappers.kitty { inherit (config.myConfig) theme; }) (wrappers.kitty { inherit (config.myConfig) theme; })
wrappers.firefox wrappers.firefox

View file

@ -1,12 +0,0 @@
{ inputs, pkgs, ... }:
(inputs.wrapper-manager.lib {
inherit pkgs;
modules = [
{
wrappers.marktext = {
basePackage = pkgs.marktext;
flags = [ "--disable-gpu" ];
};
}
];
}).config.wrappers.marktext.wrapped

View file

@ -1,12 +0,0 @@
{ inputs, pkgs, ... }:
(inputs.wrapper-manager.lib {
inherit pkgs;
modules = [
{
wrappers.obsidian = {
basePackage = pkgs.obsidian;
flags = [ "--disable-gpu" ];
};
}
];
}).config.wrappers.obsidian.wrapped

View file

@ -1,12 +0,0 @@
{ inputs, pkgs, ... }:
(inputs.wrapper-manager.lib {
inherit pkgs;
modules = [
{
wrappers.spotify = {
basePackage = pkgs.spotify;
flags = [ "--disable-gpu" ];
};
}
];
}).config.wrappers.spotify.wrapped

View file

@ -1,12 +0,0 @@
{ inputs, pkgs, ... }:
(inputs.wrapper-manager.lib {
inherit pkgs;
modules = [
{
wrappers.webcord = {
basePackage = pkgs.webcord;
flags = [ "--disable-gpu" ];
};
}
];
}).config.wrappers.webcord.wrapped