From c85360e7996126694237fe6c09d36d2bedce2963 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 2 Oct 2024 18:54:06 +0200 Subject: [PATCH] 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. --- nixos/modules/services/x11/desktop-managers/gnome.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nixos/modules/services/x11/desktop-managers/gnome.nix b/nixos/modules/services/x11/desktop-managers/gnome.nix index bb2ce03e73a3..372300f34950 100644 --- a/nixos/modules/services/x11/desktop-managers/gnome.nix +++ b/nixos/modules/services/x11/desktop-managers/gnome.nix @@ -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 ];