hatchmoment. scored by care · not by stars

nocruft

nocruft – CLI to trace and list files created by nix-shell

Nix-shell often leaves stray files in home, cache or /tmp, making cleanup a hassle. nocruft uses eBPF tracepoints to monitor filesystem creation syscalls of the shell and all its descendants, then reports the paths after exit. It works on x86_64 Linux (kernel ≥ 5.8) without chroot or strace, offering low‑overhead, precise tracking. Ideal for Nix users who want confidence that no cruft remains after experimentation.

ebpfnix-shell
View on GitHub →

seqizz/nocruft