fix(slack): enable screenshare
This commit is contained in:
parent
ddf25a45b0
commit
d492658ecc
1 changed files with 13 additions and 3 deletions
|
@ -3,8 +3,18 @@
|
|||
let
|
||||
unstable = import <nixos-unstable> { config.allowUnfree = true; };
|
||||
cloudstation = pkgs.callPackage (import ../packages/cloudstation.nix) { };
|
||||
nagstamon =
|
||||
pkgs.libsForQt5.callPackage (import ../packages/nagstamon.nix) { };
|
||||
nagstamon = pkgs.libsForQt5.callPackage (import ../packages/nagstamon.nix) { };
|
||||
myslack = pkgs.slack.overrideAttrs (oldAttrs: rec {
|
||||
fixupPhase = ''
|
||||
sed -i -e 's/,"WebRTCPipeWireCapturer"/,"LebRTCPipeWireCapturer"/' $out/lib/slack/resources/app.asar
|
||||
|
||||
rm $out/bin/slack
|
||||
makeWrapper $out/lib/slack/slack $out/bin/slack \
|
||||
--prefix XDG_DATA_DIRS : $GSETTINGS_SCHEMAS_PATH \
|
||||
--suffix PATH : ${lib.makeBinPath [ pkgs.xdg-utils ]} \
|
||||
--add-flags "--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,WebRTCPipeWireCapturer"
|
||||
'';
|
||||
});
|
||||
in {
|
||||
|
||||
environment.variables = {
|
||||
|
@ -58,7 +68,7 @@ in {
|
|||
(unstable.google-cloud-sdk.withExtraComponents [
|
||||
unstable.google-cloud-sdk.components.gke-gcloud-auth-plugin
|
||||
])
|
||||
slack
|
||||
myslack
|
||||
unstable.velero
|
||||
|
||||
unstable.obs-studio
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue