From a4ad01f3a88bf0540b4a41ece4a8935b09b23c3d Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Sun, 31 Jul 2022 18:20:01 +0200 Subject: [PATCH] Add more hashi tools --- README.md | 10 ++++++++++ hashi/flake.nix | 10 +++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0829e4d..39653bd 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,11 @@ The sections below list what each template includes. In all cases, you're free t - [Terraform] 1.2.6 - [Packer] 1.8.2 +- [Nomad] 1.2.9 +- [nomad-autoscaler] 0.3.6-dev +- [nomad-pack] 0.0.1-techpreview.3 +- [levant] 0.3.1 +- [damon] - [Terragrunt] 0.37.0 ### [`java`](./java) @@ -149,6 +154,7 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T [cachix]: https://www.cachix.org [cargo]: https://doc.rust-lang.org/cargo [clippy]: https://github.com/rust-lang/rust-clippy +[damon]: https://github.com/hashicorp/damon [dhall]: https://dhall-lang.org [dhall-to-nix]: https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-nix [elixir]: https://elixir-lang.org @@ -163,6 +169,7 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T [iex]: https://hexdocs.pm/iex/IEx.html [java]: https://java.com [kotlin]: https://kotlinlang.org +[levant]: https://github.com/hashicorp/levant [lorri]: https://github.com/target/lorri [maven]: https://maven.apache.org [mix]: https://elixir-lang.org/getting-started/mix-otp/introduction-to-mix.html @@ -172,6 +179,9 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T [nixpkgs]: https://github.com/NixOS/nixpkgs [nix-direnv]: https://github.com/nix-community/nix-direnv [node]: https://nodejs.org +[nomad]: https://nomadproject.io +[nomad-autoscaler]: TOhttps://github.com/hashicorp/nomad-autoscaler +[nomad-pack]: https://github.com/hashicorp/nomad-pack [packer]: https://packer.io [phoenix]: https://phoenixframework.org [pnpm]: https://pnpm.io diff --git a/hashi/flake.nix b/hashi/flake.nix index 36e434c..8bd839d 100644 --- a/hashi/flake.nix +++ b/hashi/flake.nix @@ -1,6 +1,6 @@ { description = - "A Nix-flake-based development environment for Terraform and Packer"; + "A Nix-flake-based development environment for Terraform, Packer, and Nomad"; inputs = { dev.url = "github:the-nix-way/dev-templates"; }; @@ -10,9 +10,12 @@ let pkgs = import nixpkgs { inherit system; }; - inherit (pkgs) mkShell packer terraform; + inherit (pkgs) + damon levant mkShell nomad nomad-autoscaler nomad-pack packer + terraform; - hashiTools = [ packer terraform ]; + hashiTools = + [ packer terraform nomad nomad-autoscaler nomad-pack levant damon ]; relatedTools = with pkgs; [ terragrunt ]; in { @@ -23,6 +26,7 @@ shellHook = '' echo "packer `${packer}/bin/packer --version`" ${terraform}/bin/terraform --version + ${nomad}/bin/nomad --version ''; }; };