nh icon indicating copy to clipboard operation
nh copied to clipboard

fine-grain `nh os info; add variants for `nh home` and `nh darwin`

Open NotAShelf opened this issue 4 months ago • 0 comments

Currently nh os info

  1. Hard-codes the profile path
  2. Displays all information at once
  3. 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.

NotAShelf avatar Aug 04 '25 21:08 NotAShelf