registry: add flake as system

This commit is contained in:
Charlie Root 2024-10-21 11:56:01 +02:00
commit 49349c5e66
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw

View file

@ -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