From 2f93b33e0c63ea796414ceb3039573629f616294 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 12 Jan 2025 17:52:59 +0800 Subject: [PATCH] users/foo-dogsquared/programs/dconf: add indexer locations for GNOME Shell setups --- .../foo-dogsquared/modules/programs/dconf.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/configs/home-manager/foo-dogsquared/modules/programs/dconf.nix b/configs/home-manager/foo-dogsquared/modules/programs/dconf.nix index 5a1e6374..ea9fa4b2 100644 --- a/configs/home-manager/foo-dogsquared/modules/programs/dconf.nix +++ b/configs/home-manager/foo-dogsquared/modules/programs/dconf.nix @@ -1,6 +1,7 @@ { config, lib, ... }: let + inherit (config.xdg) userDirs; userCfg = config.users.foo-dogsquared; cfg = userCfg.programs.dconf; in @@ -26,6 +27,20 @@ in base = 10; word-size = 64; }; + + "org/freedesktop/tracker/miner/files" = { + index-recursive-directories = [ + # We could also use the values from home-manager but just to make GNOME Settings happy. + "&DESKTOP" + "&DOCUMENTS" + "&MUSIC" + "&PICTURES" + "&VIDEOS" + "&PUBLIC_SHARE" + + userDirs.extraConfig.XDG_PROJECTS_DIR + ]; + }; }; }; }