forked from mirrors/nixpkgs
nixos/*: remove links to options in code blocks
markdown simply cannot represent these. would be nice to have, but it'll have to happen some other way (if at all).
This commit is contained in:
parent
275a34e0d8
commit
b0e56acef9
|
@ -33,10 +33,10 @@ in
|
|||
work with this exporter:
|
||||
<programlisting>
|
||||
{
|
||||
<xref linkend="opt-services.prometheus.exporters.dovecot.enable"/> = true;
|
||||
<xref linkend="opt-services.prometheus.exporters.dovecot.socketPath"/> = "/var/run/dovecot2/old-stats";
|
||||
<xref linkend="opt-services.dovecot2.mailPlugins.globally.enable"/> = [ "old_stats" ];
|
||||
<xref linkend="opt-services.dovecot2.extraConfig"/> = '''
|
||||
services.prometheus.exporters.dovecot.enable = true;
|
||||
services.prometheus.exporters.dovecot.socketPath = "/var/run/dovecot2/old-stats";
|
||||
services.dovecot2.mailPlugins.globally.enable = [ "old_stats" ];
|
||||
services.dovecot2.extraConfig = '''
|
||||
service old-stats {
|
||||
unix_listener old-stats {
|
||||
user = dovecot-exporter
|
||||
|
|
|
@ -121,7 +121,7 @@ let
|
|||
It's possible to work around the issue with a config like this:
|
||||
<programlisting>
|
||||
{
|
||||
<link linkend="opt-services.rspamd.locals._name_.text">services.rspamd.locals."multimap.conf".text</link> = '''
|
||||
services.rspamd.locals."multimap.conf".text = '''
|
||||
ALLOWLIST_PROMETHEUS {
|
||||
filter = "email:domain:tld";
|
||||
type = "from";
|
||||
|
|
Loading…
Reference in a new issue