nh
nh copied to clipboard
fine-grain `nh os info; add variants for `nh home` and `nh darwin`
Currently nh os info
- Hard-codes the profile path
- Displays all information at once
- Only shows stats for NixOS installations
Would be nice to take a --profile argument like nix-env --list-generations --profile does to allow specifying, mostly for backwards compatibility. It would also be nice to allow specifying which fields to display. Namely, we want to allow filtering for name, closure size and generations list. Display all when no specifier passed.