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:
parent
bab605871d
commit
1647ab4ac7
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue