summary refs log tree commit diff
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-13 11:55:45 +0200
committerpennae <82953136+pennae@users.noreply.github.com>2022-08-19 22:40:58 +0200
commitb0e56acef90e1726c588aac13fe7e5fae0ed1a95 (patch)
treec4ee5acb0b430f6b7315737d7f04cb6ef5e06200
parent275a34e0d8a937a81b267e47302dd8a92fa781df (diff)
downloadnixpkgs-b0e56acef90e1726c588aac13fe7e5fae0ed1a95.tar
nixpkgs-b0e56acef90e1726c588aac13fe7e5fae0ed1a95.tar.gz
nixpkgs-b0e56acef90e1726c588aac13fe7e5fae0ed1a95.tar.bz2
nixpkgs-b0e56acef90e1726c588aac13fe7e5fae0ed1a95.tar.lz
nixpkgs-b0e56acef90e1726c588aac13fe7e5fae0ed1a95.tar.xz
nixpkgs-b0e56acef90e1726c588aac13fe7e5fae0ed1a95.tar.zst
nixpkgs-b0e56acef90e1726c588aac13fe7e5fae0ed1a95.zip
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).
-rw-r--r--nixos/modules/services/monitoring/prometheus/exporters/dovecot.nix8
-rw-r--r--nixos/modules/services/monitoring/prometheus/exporters/mail.nix2
2 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/dovecot.nix b/nixos/modules/services/monitoring/prometheus/exporters/dovecot.nix
index d86b750ba5f..80a2f92881d 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/dovecot.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/dovecot.nix
@@ -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
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/mail.nix b/nixos/modules/services/monitoring/prometheus/exporters/mail.nix
index 205188538a2..4ebe7128e2a 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/mail.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/mail.nix
@@ -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";