Template: use inventory

This commit is contained in:
Johannes Kirschbauer
2024-06-24 15:25:36 +02:00
committed by hsjobeki
parent 9304afaa44
commit 1ee95ba864

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