nixos-servers/flake-parts/kubenix.nix
Pim Kunis afa0bd023e Add option to add labels to Kubernetes nodes
Make nextcloud always go to nodes with fast storage
Don't mount nextcloud on syncthing pod
2024-05-24 23:40:19 +02:00

13 lines
489 B
Nix

{ 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 ../kubenix-modules/all.nix;
kubenix-bootstrap = mkKubenixPackage ../kubenix-modules/base.nix;
})