forked from pub-solar/os
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:
commit
7606a69dbb
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
3
pkgs/ps-signal-desktop.nix
Normal file
3
pkgs/ps-signal-desktop.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
self: with self; ''
|
||||
exec ${signal-desktop}/bin/signal-desktop --disable-gpu -- "$@"
|
||||
''
|
Loading…
Reference in a new issue