diff --git a/bin/omarchy-pkg-aur-install b/bin/omarchy-pkg-aur-install index dc393b8dc304..b79d24f54190 100755 --- a/bin/omarchy-pkg-aur-install +++ b/bin/omarchy-pkg-aur-install @@ -25,6 +25,6 @@ if [[ -n $pkg_names ]]; then echo "$pkg_names" | sed 's/^/aur\//' | tr '\n' ' ' | xargs yay -S --noconfirm code=$? - sudo updatedb --prune-bind-mounts=no --add-prunepaths=/.snapshots + sudo updatedb --prune-bind-mounts=no --add-prunepaths=/.snapshots --add-prunefs="fuse.rclone smb3 ceph" omarchy-show-done $code fi diff --git a/default/systemd/system/plocate-updatedb.service.d/10-omarchy.conf b/default/systemd/system/plocate-updatedb.service.d/10-omarchy.conf index 571a53bc4391..dece7f62db36 100644 --- a/default/systemd/system/plocate-updatedb.service.d/10-omarchy.conf +++ b/default/systemd/system/plocate-updatedb.service.d/10-omarchy.conf @@ -1,3 +1,3 @@ [Service] ExecStart= -ExecStart=/usr/bin/updatedb --prune-bind-mounts=no --add-prunepaths=/.snapshots +ExecStart=/usr/bin/updatedb --prune-bind-mounts=no --add-prunepaths=/.snapshots --add-prunefs="fuse.rclone smb3 ceph" diff --git a/docs/file-layout.md b/docs/file-layout.md index ea13dc59104f..3f49652a9178 100644 --- a/docs/file-layout.md +++ b/docs/file-layout.md @@ -235,7 +235,7 @@ upgrade. This is documented in the PKGBUILD. ## Locate indexing -`default/systemd/system/plocate-updatedb.service.d/10-omarchy.conf` ships through `omarchy-settings` to `/usr/lib/systemd/system/plocate-updatedb.service.d/10-omarchy.conf`. It replaces the existing service's `ExecStart` with `updatedb --prune-bind-mounts=no --add-prunepaths=/.snapshots`, keeping Btrfs subvolume mounts searchable and excluding Snapper snapshots. The upstream service retains its timer, resource limits, and sandbox; Omarchy's existing AC-power condition still applies. +`default/systemd/system/plocate-updatedb.service.d/10-omarchy.conf` ships through `omarchy-settings` to `/usr/lib/systemd/system/plocate-updatedb.service.d/10-omarchy.conf`. It replaces the existing service's `ExecStart` with `updatedb --prune-bind-mounts=no --add-prunepaths=/.snapshots --add-prunefs="fuse.rclone smb3 ceph"`, keeping Btrfs subvolume mounts searchable, excluding Snapper snapshots, and skipping rclone, SMB3, and Ceph mounts that plocate's default `PRUNEFS` misses. The upstream service retains its timer, resource limits, and sandbox; Omarchy's existing AC-power condition still applies. `/etc/updatedb.conf` remains owned by plocate and is never rewritten by Omarchy. The command-line options override bind-mount pruning and add to the administrator's existing path exclusions. AUR package refreshes pass the same options directly because an explicitly requested refresh should work on battery. A fresh install builds no database: the timer is `Persistent`, so the first run comes soon after first boot, once on AC power.