diff --git a/modules/default.nix b/modules/default.nix index b23f690..942cc39 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -1,4 +1,4 @@ -{ pkgs, cluster, customize ? {}, lib, config, ... }: +{ pkgs, cluster, customize ? {}, extraConfig ? {}, lib, config, ... }: with lib; let cfg = cluster; @@ -43,7 +43,7 @@ in { services.kubernetes.kubelet.extraSANs = mkSANs host; - imports = [ host.hw ./modules.nix ../overrides/kubelet.nix ]; + imports = [ host.hw extraConfig ./modules.nix ../overrides/kubelet.nix ]; }; node = host: self: { @@ -62,7 +62,7 @@ in { services.kubernetes.kubelet.extraSANs = mkSANs host; - imports = [ host.hw ./modules.nix ../overrides/kubelet.nix ]; + imports = [ host.hw extraConfig ./modules.nix ../overrides/kubelet.nix ]; }; mkDeployment = top: @@ -92,7 +92,7 @@ in { } ]; - imports = [ host.hw ./modules.nix ]; + imports = [ host.hw extraConfig ./modules.nix ]; }; mkDeployment = top: nodes: @@ -117,7 +117,7 @@ in { } ]; - imports = [ host.hw ./modules.nix ]; + imports = [ host.hw extraConfig ./modules.nix ]; }; mkDeployment = top: nodes: