Which package provides 'ifconfig'

NixOS will set up a CNF handler, but on non-NixOS, I think the assumption is that your system package manager already has one set up.

You can use nix-index’s nix-locate command to search for packages by the names of files they contain: GitHub - nix-community/nix-index: Quickly locate nix packages with specific files [maintainers=@bennofs @figsoda @raitobezarius]

You can get a precomputed database for nix-index here: GitHub - nix-community/nix-index-database: Weekly updated nix-index database [maintainer=@Mic92]

2 Likes