pub-solar-os/lib/devos/default.nix
2021-04-18 22:16:53 -05:00

31 lines
797 B
Nix

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