chore(nix): add basic Nix dev shell

This commit is contained in:
2025-11-28 21:00:25 +01:00
parent 6bfb8e543a
commit 1f0b809a4f
2 changed files with 90 additions and 0 deletions

29
flake.nix Normal file
View File

@@ -0,0 +1,29 @@
{
description = "dev shell for 'hektor/lab' repo";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
fluxcd
k3d
kubectl
];
};
}
);
}