ark/lib/devos/default.nix
David Arnold be924bcb27 ref: reduce exposure to callLibs
for clarity's sake, expose which function uses final and prev, so that
people can have a clearer understanding how they relate to each other
in terms of dependencies.

also a simple `{ lib = final; }` probably does not warrant a complete
callLibs obscurization.
2021-04-18 22:16:53 -05:00

31 lines
684 B
Nix

{ lib }:
{
# pkgImport :: Nixpkgs -> Overlays -> System -> Pkgs
pkgImport = nixpkgs: overlays: system:
import nixpkgs {
inherit system overlays;
config = { allowUnfree = true; };
};
profileMap = map (profile: profile.default);
mkNodes = lib.callLibs ./mkNodes.nix;
mkHosts = lib.callLibs ./mkHosts.nix;
mkSuites = lib.callLibs ./mkSuites.nix;
mkProfileAttrs = lib.callLibs ./mkProfileAttrs.nix;
mkPkgs = lib.callLibs ./mkPkgs.nix;
recImport = lib.callLibs ./recImport.nix;
devosSystem = lib.callLibs ./devosSystem.nix;
mkHomeConfigurations = lib.callLibs ./mkHomeConfigurations.nix;
mkPackages = lib.callLibs ./mkPackages.nix;
}