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.
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user