From 0b5c9469bb29f9b2e3e0b6260f48525d68019da2 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 2 Oct 2024 18:49:42 +0200 Subject: [PATCH] nixos/deepin: 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 Deepin. Currently, our Deepin uses `gtk` as the preferred default implementation for all portals so presumably the duplicate portals should not have been disabled anyway. The added closure size should be negligible, as most of the packages are probably also used by Deepin transitively. --- nixos/modules/services/x11/desktop-managers/deepin.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/modules/services/x11/desktop-managers/deepin.nix b/nixos/modules/services/x11/desktop-managers/deepin.nix index 70149bcf4ae0..4829990acc4f 100644 --- a/nixos/modules/services/x11/desktop-managers/deepin.nix +++ b/nixos/modules/services/x11/desktop-managers/deepin.nix @@ -74,9 +74,7 @@ in xdg.icons.enable = true; xdg.portal.enable = mkDefault true; xdg.portal.extraPortals = mkDefault [ - (pkgs.xdg-desktop-portal-gtk.override { - buildPortalsInGnome = false; - }) + pkgs.xdg-desktop-portal-gtk ]; # https://github.com/NixOS/nixpkgs/pull/247766#issuecomment-1722839259