summaryrefslogtreecommitdiff
path: root/home/wayland/modules/portal.nix
blob: 5cb620c6909d813477bde50223c33c48f3a7d2f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ pkgs, ... }: {
  xdg.portal = {
    enable = true;

    config.common = {
      default = "gtk";
      "org.freedesktop.impl.portal.ScreenCast" = "wlr";
      "org.freedesktop.impl.portal.Screenshot" = "wlr";
    };

    extraPortals = with pkgs; [
      xdg-desktop-portal-wlr
      xdg-desktop-portal-gtk
    ];
  };
}