nixfleet/pkgs/slack/default.nix
Andrea Ciceri f80edaffdb
Various:
- slack as wayland native application
- google chrome is a wayland native application now
- Emacs
  - `aggressive-indent`
  - `symex`
  - disabled `org-superstar-mode`
  - default `hunspell` dictionary is `en_US` now
- glances
- translate-shell
- `qutebrowser` is the default browser now
2022-05-03 12:32:04 +02:00

12 lines
454 B
Nix

{ pkgs }:
pkgs.slack.overrideAttrs (old: {
buildInputs = old.buildInputs ++ [ pkgs.makeWrapper ];
postInstall = old.postInstall or "" + ''
rm $out/bin/slack
makeWrapper $out/lib/slack/slack $out/bin/slack \
--prefix XDG_DATA_DIRS : $GSETTINGS_SCHEMAS_PATH \
--prefix PATH : ${pkgs.lib.makeBinPath [pkgs.xdg-utils]} \
--add-flags "--ozone-platform=wayland --enable-features=UseOzonePlatform,WebRTCPipeWireCapturer"
'';
})