inaugurate decent devshell

This commit is contained in:
David Arnold 2021-04-29 17:13:33 -05:00
parent be58b0e94e
commit 2026496ea0
No known key found for this signature in database
GPG key ID: 6D6A936E69C59D08
7 changed files with 313 additions and 4 deletions

36
devshell.toml Normal file
View file

@ -0,0 +1,36 @@
[devshell]
name = "kubenix"
packages = [
"fd",
"nixpkgs-fmt",
"dive",
"kube3d",
"kubie",
"k9s",
]
[[commands]]
name = "fmt"
help = "Check Nix formatting"
category = "checks"
command = "nixpkgs-fmt ${@} ."
[[commands]]
name = "evalnix"
help = "Check Nix parsing"
category = "checks"
command = "fd --extension nix --exec nix-instantiate --parse --quiet {} >/dev/null"
# K8s related tools
[[commands]]
package = "dive"
category = "k8s"
[[commands]]
package = "kubie"
category = "k8s"
[[commands]]
package = "k9s"
category = "k8s"