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
cc37713839
commit
f2b20c65a8
|
@ -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