Files
manifests/shell.nix
T
2025-06-10 17:00:17 +02:00

40 lines
788 B
Nix

let
sources = import ./npins;
system = builtins.currentSystem;
pkgs = import sources.nixpkgs {
inherit system;
config = { };
overlays = [ (import "${sources.gomod2nix}/overlay.nix") ];
};
helmfile-nix = import sources.helmfile-nix { inherit pkgs; };
helmWrap =
with pkgs;
wrapHelm kubernetes-helm {
plugins = with kubernetes-helmPlugins; [
helm-diff
helm-git
];
};
helmfileWrap = pkgs.helmfile-wrapped.override { inherit (helmWrap) pluginsDir; };
in
pkgs.mkShellNoCC {
name = "clstr";
packages = with pkgs; [
# nix helpers
npins
nix-converter
# helm
helmWrap
helmfileWrap
helmfile-nix
# kubectl tools
kubectl-cnpg
kubectl-neat
];
ARGOCD_ENV_CLUSTER_NAME = "oceanbox";
}