nixos-config/users/simon/modules/sway/xdg-desktop-portal.nix

14 lines
314 B
Nix

{ lib, ... }:
{
# screen recording/sharing with pipewire
# portal is installed in system configuration
xdg.configFile."xdg-desktop-portal-wlr/config".text = lib.generators.toINI { } {
screencast = {
max_fps = 30;
chooser_type = "simple";
chooser_cmd = "slurp -f %o -or";
};
};
}