pub-solar-os/lib/devos/default.nix
2021-04-18 19:28:03 -05:00

31 lines
689 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;
}