Wrap signal-desktop to add flag to disable gpu processing

This commit is contained in:
Hendrik Sokolowski 2022-04-30 15:19:17 +02:00
parent 895cdc30b9
commit c56a3eaee2
3 changed files with 7 additions and 2 deletions

View file

@ -12,8 +12,7 @@ in
config = mkIf cfg.enable {
home-manager = with pkgs; pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] {
home.packages = [
#mySignalDesktop
signal-desktop
ps-signal-desktop
tdesktop
element-desktop
irssi

View file

@ -16,4 +16,7 @@ with final; {
toggle-kbd-layout = writeShellScriptBin "toggle-kbd-layout" (import ./toggle-kbd-layout.nix final);
uhk-agent = import ./uhk-agent.nix final;
wcwd = writeShellScriptBin "wcwd" (import ./wcwd.nix final);
# ps-fixes
ps-signal-desktop = writeShellScriptBin "signal-desktop" (import ./ps-signal-desktop.nix final);
}

View file

@ -0,0 +1,3 @@
self: with self; ''
exec ${signal-desktop}/bin/signal-desktop --disable-gpu -- "$@"
''