nixos/modules/pinning.nix
Gerg-L 160a5c3ffe localModules -> local
moved keys to their own module

updated nix

switching pinning method
2023-07-02 00:35:14 -04:00

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
]