reference docs: add missing description fields and enforce it from now on

This commit is contained in:
DavHau
2024-07-04 13:32:57 +07:00
parent 0a4abd0e46
commit 208021ee1c
6 changed files with 37 additions and 14 deletions

View File

@@ -7,6 +7,10 @@
{
options.clan.syncthing = {
id = lib.mkOption {
description = ''
The ID of the machine.
It is generated automatically by default.
'';
type = lib.types.nullOr lib.types.str;
example = "BABNJY4-G2ICDLF-QQEG7DD-N3OBNGF-BCCOFK6-MV3K7QJ-2WUZHXS-7DTW4AS";
default = config.clan.core.facts.services.syncthing.public."syncthing.pub".value or null;