30 lines
676 B
Nix
30 lines
676 B
Nix
{
|
|
description = "GitOps Playground with ArgoCD and Kind";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs = { self, nixpkgs }:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in
|
|
{
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
kind
|
|
kubectl
|
|
argocd
|
|
k9s
|
|
jq
|
|
];
|
|
|
|
shellHook = ''
|
|
echo "🚀 GitOps Playground Environment Loaded"
|
|
echo "Tools available: kind, kubectl, argocd, k9s"
|
|
echo "Run 'make setup' to initialize the cluster."
|
|
'';
|
|
};
|
|
};
|
|
}
|