ark/lib/devos/default.nix
Pacman99 eab0bf074c lib: one line for arguments, drop userFlake*
Also format all files and add a flake.lock for lib
for a folder thats meant to work on other flakes theres never a reason
it should need to refer to itself, only other flakes. So "self" and
"inputs" are better namings for these variables. The userFlake* is
redundant and confusing, when trying to call the functions its hard to
figure out how to use them when there are now two lines of arguments to
figure out.
2021-04-23 23:46:56 -07:00

31 lines
821 B
Nix

{ 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);
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; };
}