ark/lib/devos/default.nix

31 lines
822 B
Nix
Raw Normal View History

2021-04-19 05:45:08 +03:00
{ lib, utils }:
{
# pkgImport :: Nixpkgs -> Overlays -> System -> Pkgs
pkgImport = nixpkgs: overlays: system:
import nixpkgs {
inherit system overlays;
config = { allowUnfree = true; };
};
profileMap = list: map (profile: profile.default) (lib.flatten list);
2021-04-19 05:45:08 +03:00
mkNodes = import ./mkNodes.nix { inherit lib; };
2021-04-19 05:45:08 +03:00
mkHosts = import ./mkHosts.nix { inherit lib; };
2021-04-19 05:45:08 +03:00
mkSuites = import ./mkSuites.nix { inherit lib; };
2021-04-19 05:45:08 +03:00
mkProfileAttrs = import ./mkProfileAttrs.nix { inherit lib; };
2021-04-19 05:45:08 +03:00
mkPkgs = import ./mkPkgs.nix { inherit lib utils; };
2021-04-19 05:45:08 +03:00
recImport = import ./recImport.nix { inherit lib; };
2021-04-19 05:45:08 +03:00
devosSystem = import ./devosSystem.nix { inherit lib; };
2021-04-19 05:45:08 +03:00
mkHomeConfigurations = import ./mkHomeConfigurations.nix { inherit lib; };
2021-04-19 05:45:08 +03:00
mkPackages = import ./mkPackages.nix { inherit lib; };
}