nixos/gnome: Enable all x-d-p-gtk portals
This will fix the conflict when another DE using the full `xdg-desktop-portal-gtk` is enabled simultaneously with GNOME. There will not be conflicts at runtime since the portals have been configured by `gnome-session` in `xdg.portal.configPackages` for a while now. There will be minimal effect on system closure as all the extra x-d-p dependencies are also used by GNOME platform.
This commit is contained in:
@@ -281,10 +281,7 @@ in
|
||||
xdg.portal.enable = true;
|
||||
xdg.portal.extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gnome
|
||||
(pkgs.xdg-desktop-portal-gtk.override {
|
||||
# Do not build portals that we already have.
|
||||
buildPortalsInGnome = false;
|
||||
})
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
];
|
||||
xdg.portal.configPackages = mkDefault [ pkgs.gnome-session ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user