nixos/gnome3: re-add tracker 2 dbus services

They are still needed by Photos, Books and Documents.
This commit is contained in:
Jan Tojnar 2020-10-23 21:11:39 +02:00
parent 63c7390174
commit ea1923841a
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -406,6 +406,15 @@ in
yelp
] config.environment.gnome3.excludePackages);
# Temporary hack until we can drop tracker 2.
services.dbus.packages = with pkgs.gnome3;
let
tracker2needed = removePackagesByName [ pkgs.gnome-photos gnome-documents gnome-books ] config.environment.gnome3.excludePackages == [];
in
lib.optionals tracker2needed [
tracker_2
];
# Enable default program modules
# Since some of these have a corresponding package, we only
# enable that program module if the package hasn't been excluded