europa: disable element-desktop's usage of the gpu
This commit is contained in:
parent
d3665a7121
commit
788afa4814
@ -103,7 +103,18 @@ in {
|
||||
};
|
||||
|
||||
boot.binfmt.emulatedSystems = ["aarch64-linux" "riscv64-linux"];
|
||||
nixpkgs.config.allowUnsupportedSystem = true;
|
||||
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
allowUnsupportedSystem = true;
|
||||
packageOverrides = pkgs: {
|
||||
element-desktop = pkgs.element-desktop.overrideAttrs (old: {
|
||||
desktopItem = old.desktopItem.override (old: {
|
||||
exec = "element-desktop --disable-gpu --in-process-gpu %u";
|
||||
});
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
boot = {
|
||||
initrd.systemd.enable = true;
|
||||
@ -259,8 +270,6 @@ in {
|
||||
#"docker"
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
environment.sessionVariables = {
|
||||
XDG_BIN_HOME = "\${HOME}/.local/bin";
|
||||
XDG_CACHE_HOME = "\${HOME}/.cache";
|
||||
|
Loading…
Reference in New Issue
Block a user