Inventory: init first implementation #1638

Merged
hsjobeki merged 18 commits from hsjobeki/clan-core:wip/inventory into main 2024-06-25 12:23:30 +00:00
Showing only changes of commit e39c7580d6 - Show all commits

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