niksos/options/common/pin-registry.nix

9 lines
141 B
Nix

{
inputs,
lib,
...
}: let
inherit (lib.attrsets) mapAttrs;
in {
nix.registry = mapAttrs (_: v: { flake = v; }) inputs;
}