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 = {
|
registry = {
|
||||||
# Allow me to use my custom package using `nix run self#pkg`
|
# Allow me to use my custom package using `nix run self#pkg`
|
||||||
self.flake = inputs.self;
|
self.flake = inputs.self;
|
||||||
# Do not follow master, use pinned revision instead
|
# Use pinned nixpkgs when using `nix run pkgs#<whatever>`
|
||||||
nixpkgs.flake = inputs.nixpkgs;
|
pkgs.flake = inputs.nixpkgs;
|
||||||
# Add NUR to run some packages that are only present there
|
# Add NUR to run some packages that are only present there
|
||||||
nur.flake = inputs.nur;
|
nur.flake = inputs.nur;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue