nixos-servers/flake-parts/kubenix.nix

14 lines
489 B
Nix
Raw Normal View History

{ machines, dns, myLib, flake-utils, kubenix, nixhelm, blog-pim, ... }: flake-utils.lib.eachDefaultSystem
(system:
let
mkKubenixPackage = module: kubenix.packages.${system}.default.override
2024-04-13 14:37:18 +00:00
{
specialArgs = { inherit myLib kubenix nixhelm system dns blog-pim machines; };
module = { imports = [ module ]; };
2024-04-13 14:37:18 +00:00
};
in
{
kubenix = mkKubenixPackage ../kubenix-modules/all.nix;
kubenix-bootstrap = mkKubenixPackage ../kubenix-modules/base.nix;
2024-04-13 14:37:18 +00:00
})