registry: add flake as system
This commit is contained in:
parent
e55f15a60f
commit
49349c5e66
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@ in {
|
|||
|
||||
# this is taken from sioodmy.
|
||||
# pin the registry to avoid downloading and evaling a new nixpkgs version every time
|
||||
registry = lib.mapAttrs (_: v: {flake = v;}) inputs;
|
||||
registry =
|
||||
lib.mapAttrs (_: v: {flake = v;}) inputs
|
||||
// {system.flake = inputs.self;};
|
||||
|
||||
# This will additionally add your inputs to the system's legacy channels
|
||||
# Making legacy nix commands consistent as well
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue