Hook or Cuckoo Filter for Nix Store via Nix Daemon Protocol
Author: DerDennisOPCreated Sep 14, 2026Updated Sep 14, 2026
Labelsfeature
Is your feature request related to a problem?
I need a way to get a summary of my servers nix store, so i know which of my builder has the least amount of dependencies to fetch. With a Cuckoo filter I would approximately know that I can fetch certain paths from it, without requesting my entire list of dependencies to the server to check via network which can be very expensive when doing it at large scale.
Proposed solution
It would be great to have some kind of function to get a cockoo filter that the nix-deamon has curated.
Alternative solutions
A Hook to get notified when a path is deleted or added, so i can keep track of the cockoo filter myself. This would be a more cleaner approach, but I don't know how the nix-deamon could notify me.
Checklist
- checked latest Nix manual (source)
- checked open feature issues and pull requests for possible duplicates
- reviewed the contributing guide
Add :+1: to issues you find important.
Source: NixOS/nix