Merge pull request 'Wrap signal-desktop to add flag to disable gpu processing' (#63) from feature/signal-desktop-without-gpu into main

Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/63
Reviewed-by: Benjamin Bädorf <b12f@noreply.example.org>
This commit is contained in:
hensoko 2022-04-30 13:31:36 +00:00
commit 7606a69dbb
3 changed files with 7 additions and 2 deletions

View file

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

View file

@ -16,4 +16,7 @@ with final; {
toggle-kbd-layout = writeShellScriptBin "toggle-kbd-layout" (import ./toggle-kbd-layout.nix final); toggle-kbd-layout = writeShellScriptBin "toggle-kbd-layout" (import ./toggle-kbd-layout.nix final);
uhk-agent = import ./uhk-agent.nix final; uhk-agent = import ./uhk-agent.nix final;
wcwd = writeShellScriptBin "wcwd" (import ./wcwd.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 -- "$@"
''