diff --git a/flake.nix b/flake.nix index 76eb8f0..e62c252 100644 --- a/flake.nix +++ b/flake.nix @@ -88,9 +88,8 @@ inherit (builtins) readDir; inherit (nixpkgs.lib) attrsToList const groupBy listToAttrs mapAttrs nameValuePair; - lib'' = nixpkgs.lib.extend (_: _: nix-darwin.lib); - lib' = lib''.extend (_: _: builtins); - lib = lib'.extend <| import ./lib inputs; + lib' = nixpkgs.lib.extend (_: _: nix-darwin.lib); + lib = lib'.extend <| import ./lib inputs; hostsByType = readDir ./hosts |> mapAttrs (name: const <| import ./hosts/${name} lib)