Adding nix shell

This commit is contained in:
Joseph Hanson 2024-06-21 15:58:42 -05:00
parent a4294e0914
commit d3504d4574
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 14 additions and 6 deletions

1
.gitignore vendored
View file

@ -1,5 +1,6 @@
.DS_Store
Thumbs.db
.direnv
.private/
.venv/
.terraform

View file

@ -1,9 +1,16 @@
{ pkgs ? import <nixpkgs> {}}:
# Shell for bootstrapping flake-enabled nix and home-manager
{pkgs ? import <nixpkgs> {}}:
pkgs.mkShell {
packages = [
pkgs.k9s
pkgs.kubectl
pkgs.kubevirt
# Enable experimental features without having to specify the argument
NIX_CONFIG = "experimental-features = nix-command flakes";
nativeBuildInputs = with pkgs; [
git
go-task
sops
pre-commit
gitleaks
k9s
kubectl
];
}