From 218eb0ea420ec6c2eb3c2cd7fa1c8e1a46f18e85 Mon Sep 17 00:00:00 2001 From: clan-tool Date: Wed, 3 Sep 2025 17:26:40 +0200 Subject: [PATCH] add inventory metadata --- clan.nix | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/clan.nix b/clan.nix index a98aab0..72e7e8c 100644 --- a/clan.nix +++ b/clan.nix @@ -6,10 +6,26 @@ }; inventory.machines = { - m1 = {}; - c1 = {}; - c2 = {}; - c3 = {}; + m1 = { + name = "Management node 1"; + machineClass = "nixos"; + tags = [ "cloud:amarth" "region:oss" "nodeType:management" "criticallity: medium" "" ]; + }; + c1 = { + name = "Compute node 1"; + machineClass = "nixos"; + tags = [ "cloud:amarth" "region:oss" "nodeType:compute" "criticallity: medium" "" ]; + }; + c2 = { + name = "Compute node 2"; + machineClass = "nixos"; + tags = [ "cloud:amarth" "region:oss" "nodeType:compute" "criticallity: medium" "" ]; + }; + c3 = { + name = "Compute node 3"; + machineClass = "nixos"; + tags = [ "cloud:amarth" "region:oss" "nodeType:compute" "criticallity: medium" "" ]; + }; }; # Docs: See https://docs.clan.lol/reference/clanServices