New to Nix, made a mess of my system config repo while testing this and that, adding and replacing modules and files on the go. Trying to clean up now, but would like some tool support.
I’m using a central flake.nix
- is there a tool that can tell me which of the files in the repo is reachable from the root? I.e., over all evaluation paths? I know and tried nixd
, nix-lint
and deadnix
(which is great btw.), but none of them can tell me which files in the repo are redundant. Also tried nix eval -vv .#nixosConfigurations...
which does list files it evaluates, but all files are from the nix store, I’d rather just have the ones in my repo?