nixos-servers/flake-parts/kubenix.nix

16 lines
535 B
Nix
Raw Normal View History

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