mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
inaugurate decent devshell
This commit is contained in:
parent
be58b0e94e
commit
2026496ea0
7 changed files with 313 additions and 4 deletions
36
devshell.toml
Normal file
36
devshell.toml
Normal 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"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue