Slack: Difference between revisions
imported>Rbjorklin No edit summary |
Drop outdated comments |
||
Line 19: | Line 19: | ||
=== Wayland === | === Wayland === | ||
You can enable native Wayland support by launching Slack as: | |||
<syntaxHighlight lang="console"> | <syntaxHighlight lang="console"> | ||
Line 31: | Line 31: | ||
</syntaxHighlight> | </syntaxHighlight> | ||
If | If you want to use screen-sharing, you'll have to enable <code>xdg-desktop-portal</code>, too: | ||
<syntaxHighlight lang="nix"> | <syntaxHighlight lang="nix"> |
Revision as of 05:35, 9 April 2024
Slack is a communication platform with a desktop application based on Electron.
Installation
NixOS
environment.systemPackages = with pkgs; [ slack ];
Non-NixOS
$ nix-env -iA nixos.slack
Tips
Wayland
You can enable native Wayland support by launching Slack as:
$ NIXOS_OZONE_WL=1 slack
... or by simply specifying this option globally:
environment.sessionVariables.NIXOS_OZONE_WL = "1";
If you want to use screen-sharing, you'll have to enable xdg-desktop-portal
, too:
xdg = {
portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
];
gtkUsePortal = true;
};
};
Window decorations
If the above configuration leaves you without window decorations you may want to enable this feature as well:
WaylandWindowDecorations