andir/npins

Is adding a `nixos` source a common usage action?

bzm3r opened this issue · 1 comments

bzm3r commented

Under Adding Dependencies the README gives as an example:

npins add channel nixos-21.11

But under what situations would one to add nixos-*? NixOS tests?

After all, nixos-* doesn't contain nixpkgs-* (which is what is required to set up NixOS)?

So is this actually good example for this section, or would it be better to have

npins add channel nixpkgs-21.11

NixOS modules are part of Nixpkgs, and thus the nixos channels contain all you need. The only difference is in the test set which gets run on them. https://nixos.wiki/wiki/Nix_channels