theshire/shell.nix
2024-11-21 21:47:41 -06:00

28 lines
566 B
Nix

# Shell for bootstrapping flake-enabled nix and home-manager
{pkgs ? import <nixpkgs> {}}:
pkgs.mkShell {
# Enable experimental features without having to specify the argument
NIX_CONFIG = "experimental-features = nix-command flakes";
shellHook = ''
export TMP=$(mktemp -d "/tmp/nix-shell-XXXXXX")
export TEMP=$TMP
export TMPDIR=$TMP
'';
nativeBuildInputs = with pkgs; [
fluxcd
git
gitleaks
helmfile
k9s
kubevirt
kubernetes-helm
pre-commit
sops
age
mqttui
kustomize
yq-go
go-task
];
}