summaryrefslogtreecommitdiff
path: root/modules/prometheus-lvm-exporter.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/prometheus-lvm-exporter.nix')
-rw-r--r--modules/prometheus-lvm-exporter.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/prometheus-lvm-exporter.nix b/modules/prometheus-lvm-exporter.nix
index 7ef082c3..ad46f835 100644
--- a/modules/prometheus-lvm-exporter.nix
+++ b/modules/prometheus-lvm-exporter.nix
@@ -21,7 +21,7 @@ in {
21 openFirewall = mkOption { 21 openFirewall = mkOption {
22 type = types.bool; 22 type = types.bool;
23 default = false; 23 default = false;
24 description = lib.mdDoc '' 24 description = ''
25 Open port in firewall for incoming connections. 25 Open port in firewall for incoming connections.
26 ''; 26 '';
27 }; 27 };
@@ -31,7 +31,7 @@ in {
31 example = literalExpression '' 31 example = literalExpression ''
32 "-i eth0 -p tcp -m tcp --dport ${toString cfg.port}" 32 "-i eth0 -p tcp -m tcp --dport ${toString cfg.port}"
33 ''; 33 '';
34 description = lib.mdDoc '' 34 description = ''
35 Specify a filter for iptables to use when 35 Specify a filter for iptables to use when
36 {option}`services.prometheus.exporters.lvm.openFirewall` 36 {option}`services.prometheus.exporters.lvm.openFirewall`
37 is true. It is used as `ip46tables -I nixos-fw firewallFilter -j nixos-fw-accept`. 37 is true. It is used as `ip46tables -I nixos-fw firewallFilter -j nixos-fw-accept`.