From 69a0d2c5301054ad6a961734fd56cbcc4b44b42e Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Wed, 19 Jun 2024 09:48:16 -0500 Subject: [PATCH] dev convienence --- .envrc | 1 + .gitignore | 1 + shell.nix | 9 +++++++++ 3 files changed, 11 insertions(+) create mode 100644 shell.nix diff --git a/.envrc b/.envrc index 158ce5d6..91b1dd10 100644 --- a/.envrc +++ b/.envrc @@ -3,3 +3,4 @@ export KUBECONFIG="$(expand_path ./kubeconfig)" export SOPS_AGE_KEY_FILE="$(expand_path ./age.key)" export TALOSCONFIG="$(expand_path ./talosconfig.yaml)" export OMNICONFIG="$(expand_path ./omniconfig.yaml)" +use nix diff --git a/.gitignore b/.gitignore index f9737ad3..8c256283 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ Thumbs.db .private/ .venv/ .terraform +.direnv *.tfvars .decrypted~* *.agekey diff --git a/shell.nix b/shell.nix new file mode 100644 index 00000000..5149c5d8 --- /dev/null +++ b/shell.nix @@ -0,0 +1,9 @@ +{ pkgs ? import {}}: + +pkgs.mkShell { + packages = [ + pkgs.k9s + pkgs.kubectl + pkgs.kubevirt + ]; +}