add nomad CLIs

This commit is contained in:
Kiara Grouwstra 2024-01-22 17:03:57 +01:00
parent 684fe1eea3
commit 33dd0a9ea8
1 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,10 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
nixpkgs-unfree = {
url = "github:numtide/nixpkgs-unfree";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-utils.url = "github:numtide/flake-utils";
terranix = {
url = "github:terranix/terranix";
@ -19,6 +23,7 @@
inputs.flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
unfree = inputs.nixpkgs-unfree.legacyPackages.${system}.pkgs;
tfConfig = inputs.terranix.lib.terranixConfiguration {
inherit system;
modules = [
@ -52,6 +57,8 @@
(opentofu.withPlugins (p: with p; [
hcloud # https://registry.terraform.io/providers/hetznercloud/hcloud/latest/docs
]))
unfree.nomad
damon
];
};