mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
this did not work due to a missing/wrong implementation of pipewire and xdg-portal. Now screensharing works in Microsoft Teams, Firefox as well as Discord. This also adds the safeeyes service.
26 lines
494 B
Nix
26 lines
494 B
Nix
{ pkgs, ... }:
|
|
{
|
|
|
|
programs.sway = {
|
|
enable = true;
|
|
package = pkgs.swayfx;
|
|
wrapperFeatures = {
|
|
base = true;
|
|
gtk = true;
|
|
};
|
|
|
|
extraOptions = [
|
|
"--unsupported-gpu"
|
|
];
|
|
|
|
extraSessionCommands = ''
|
|
export XDG_SESSION_DESKTOP=sway
|
|
export SDL_VIDEODRIVER=wayland
|
|
export QT_QPA_PLATFORM=wayland-egl
|
|
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
|
export MOZ_ENABLE_WAYLAND=1
|
|
export MOZ_DISABLE_RDD_SANDBOX=1
|
|
'';
|
|
};
|
|
|
|
}
|