13 lines
509 B
Nix
13 lines
509 B
Nix
{ self, machines, dns, myLib, flake-utils, kubenix, nixhelm, blog-pim, ... }: flake-utils.lib.eachDefaultSystem
|
|
(system:
|
|
let
|
|
mkKubenixPackage = module: kubenix.packages.${system}.default.override
|
|
{
|
|
specialArgs = { inherit myLib kubenix nixhelm system dns blog-pim machines; };
|
|
module = { imports = [ module ]; };
|
|
};
|
|
in
|
|
{
|
|
kubenix = mkKubenixPackage "${self}/kubenix-modules/all.nix";
|
|
kubenix-bootstrap = mkKubenixPackage "${self}/kubenix-modules/base.nix";
|
|
})
|