Template: use inventory

This commit is contained in:
Johannes Kirschbauer 2024-06-24 15:25:36 +02:00
parent c509248d05
commit e39c7580d6
Signed by: hsjobeki
SSH Key Fingerprint: SHA256:vX3utDqig7Ph5L0JPv87ZTPb/w7cMzREKVZzzLFg9qU

View File

@ -11,7 +11,19 @@
# Usage see: https://docs.clan.lol
clan = clan-core.lib.buildClan {
directory = self;
clanName = "__CHANGE_ME__"; # Ensure this is internet wide unique.
meta.name = "__CHANGE_ME__"; # Ensure this is internet wide unique.
# Distributed services
inventory = {
services = {
# This example configures a BorgBackup service
# Check: https://docs.clan.lol/reference/clanModules which ones are available in Inventory
borgbackup.instance_1 = {
roles.server.machines = [ "jon" ];
roles.client.machines = [ "sara" ];
};
};
};
# Prerequisite: boot into the installer
# See: https://docs.clan.lol/getting-started/installer