inventory: Add roles.<name>.description option and a warning if it is not set

This commit is contained in:
Qubasa
2025-10-01 18:28:11 +02:00
parent b344db021b
commit 2df96d3a9b
7 changed files with 75 additions and 10 deletions

View File

@@ -9,7 +9,7 @@
# TODO: a client can only be in one instance, add constraint
roles.server = {
description = "A borgbackup server that stores the backups of clients.";
interface =
{ lib, ... }:
{
@@ -62,6 +62,7 @@
};
roles.client = {
description = "A borgbackup client that backs up to one or more borgbackup servers.";
interface =
{
lib,