{ self, ... }: { perSystem = { ... }: { websites.${self.domain} = { lib, ... }: let inherit (lib) mkOption types; in { options = { # Erweiterung zwecks ad-hoc templating events = mkOption { type = with types; attrsOf ( submodule ( { name, ... }: { options.name = mkOption { type = str; readOnly = true; default = name; }; options.__toString = mkOption { type = functionTo str; readOnly = true; default = self: ''
Veranstalter: ${print-host (head self.hosts)}
'' else ''Veranstalter:
Weitere Informationen: ${print-link (head self.links)}
'' else ''Weitere Informationen: