mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
11 lines
290 B
Nix
11 lines
290 B
Nix
inputs: {lib, ...}: let
|
|
alias = inputs // {nixpkgs = inputs.unstable;};
|
|
in
|
|
lib.pipe alias [
|
|
(lib.filterAttrs (_: v: v._type == "flake"))
|
|
(lib.mapAttrsToList (n: input: {
|
|
nix.nixPath = ["${n}=flake:${n}"];
|
|
nix.registry.${n}.flake = input;
|
|
}))
|
|
lib.mkMerge
|
|
]
|