Unverified Commit 165b6bfc authored by Bobby Rong's avatar Bobby Rong
Browse files

nixos/xfce: Enable portal by default

It is not very obvious for users that x-d-p-xapp is actually listed
in xfce-portals.conf, make it opt-out.
parent 536e05a3
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -244,6 +244,17 @@ in

    security.pam.services.xfce4-screensaver.unixAuth = cfg.enableScreensaver;

    xdg.portal.enable = mkDefault true;
    xdg.portal.extraPortals = utils.removePackagesByName (
      with pkgs;
      [
        xdg-desktop-portal-gtk
        xdg-desktop-portal-xapp
      ]
      ++ lib.optionals cfg.enableWaylandSession [
        xdg-desktop-portal-wlr
      ]
    ) excludePackages;
    xdg.portal.configPackages = mkDefault [ pkgs.xfce4-session ];
  };
}