From 81419cfb71d16fd28cc306172348ce747d60404b Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Sat, 12 Jul 2025 14:49:27 +0200 Subject: [PATCH] templates: add example how to add inventory.machines --- templates/clan/default/clan.nix | 5 +++++ templates/clan/flake-parts/clan.nix | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/templates/clan/default/clan.nix b/templates/clan/default/clan.nix index f18dd7a8a..9ac930a7e 100644 --- a/templates/clan/default/clan.nix +++ b/templates/clan/default/clan.nix @@ -2,6 +2,11 @@ # Ensure this is unique among all clans you want to use. meta.name = "__CHANGE_ME__"; + inventory.machines = { + # Define machines here. + # jon = { }; + }; + # Docs: See https://docs.clan.lol/reference/clanServices inventory.instances = { diff --git a/templates/clan/flake-parts/clan.nix b/templates/clan/flake-parts/clan.nix index f18dd7a8a..9ac930a7e 100644 --- a/templates/clan/flake-parts/clan.nix +++ b/templates/clan/flake-parts/clan.nix @@ -2,6 +2,11 @@ # Ensure this is unique among all clans you want to use. meta.name = "__CHANGE_ME__"; + inventory.machines = { + # Define machines here. + # jon = { }; + }; + # Docs: See https://docs.clan.lol/reference/clanServices inventory.instances = {