Adding nix shell
This commit is contained in:
parent
a4294e0914
commit
d3504d4574
2 changed files with 14 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
|||
.DS_Store
|
||||
Thumbs.db
|
||||
.direnv
|
||||
.private/
|
||||
.venv/
|
||||
.terraform
|
||||
|
|
19
shell.nix
19
shell.nix
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue