about summary refs log tree commit diff stats
path: root/sys/svcs/xdg/default.nix
blob: 1fe60c43b475012304260e69e03d3eadc423d27a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{pkgs, ...}: {
  services.dbus.enable = true;
  xdg = {
    portal = {
      enable = true;
      # TODO: only enable the below, when on river (or wlr based compositor)
      wlr.enable = true;
      extraPortals = [
        # NOTE: The next entry is supposedly needed for gtk based apps <2023-08-31>
        pkgs.xdg-desktop-portal-gtk
        pkgs.xdg-desktop-portal-wlr
      ];
    };
  };
  # TODO: mime = {};
}