nixos-servers/flake-parts/kubenix.nix

14 lines
509 B
Nix
Raw Normal View History

2024-06-13 17:46:21 +00:00
{ self, 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
{
2024-06-13 17:46:21 +00:00
kubenix = mkKubenixPackage "${self}/kubenix-modules/all.nix";
kubenix-bootstrap = mkKubenixPackage "${self}/kubenix-modules/base.nix";
2024-04-13 14:37:18 +00:00
})