2023-12-15 12:14:55 +00:00
|
|
|
{ options, lib, ... }:
|
|
|
|
let
|
|
|
|
jsonschema = import ../../lib/jsonschema { inherit lib; };
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.clanSchema = lib.mkOption {
|
|
|
|
type = lib.types.attrs;
|
|
|
|
description = "The json schema for the .clan options namespace";
|
|
|
|
default = jsonschema.parseOptions options.clan;
|
2024-03-25 07:44:39 +00:00
|
|
|
defaultText = lib.literalExpression "jsonschema.schemaToJSON options.clan";
|
2023-12-15 12:14:55 +00:00
|
|
|
};
|
|
|
|
}
|