.dotfiles/profiles/common/nixos/xdg-portal.nix
Swarsel 5bb6e6038e
fix: screen sharing on wayland; add:safeeyes
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.
2024-08-10 16:44:42 +02:00

19 lines
314 B
Nix

{ pkgs, ... }:
{
xdg.portal = {
enable = true;
config = {
common = {
default = "wlr";
};
};
wlr.enable = true;
wlr.settings.screencast = {
output_name = "eDP-1";
chooser_type = "simple";
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or";
};
};
}