modules: nix: expose pinned nixpkgs as 'pkgs'

That way if I do want to use that latest version, I can still use
`nixpkgs#<whatever>`.
This commit is contained in:
Bruno BELANYI 2021-05-20 19:12:20 +02:00
parent bab605871d
commit 1647ab4ac7

View file

@ -7,8 +7,8 @@
registry = {
# Allow me to use my custom package using `nix run self#pkg`
self.flake = inputs.self;
# Do not follow master, use pinned revision instead
nixpkgs.flake = inputs.nixpkgs;
# Use pinned nixpkgs when using `nix run pkgs#<whatever>`
pkgs.flake = inputs.nixpkgs;
# Add NUR to run some packages that are only present there
nur.flake = inputs.nur;
};