nixos-servers/flake-parts/kubenix.nix
Pim Kunis 6e608e6ca8 use dns.nix for kun.is zone again
parameterize k8s' service IPs
2024-04-13 23:25:48 +02:00

13 lines
451 B
Nix

{ dns, myLib, flake-utils, kubenix, nixhelm, ... }: flake-utils.lib.eachDefaultSystem
(system:
let
mkKubenixPackage = module: kubenix.packages.${system}.default.override
{
specialArgs = { inherit myLib kubenix nixhelm system dns; };
module = { imports = [ module ]; };
};
in
{
kubenix = mkKubenixPackage ../kubenix-modules/all.nix;
kubenix-bootstrap = mkKubenixPackage ../kubenix-modules/base.nix;
})