forked from pub-solar/os
Wrap signal-desktop to add flag to disable gpu processing
This commit is contained in:
parent
895cdc30b9
commit
c56a3eaee2
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
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