diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2024-08-08 10:45:09 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2024-08-08 10:45:09 +0200 |
commit | 63adb41f1a060c21a68143eb9e86c2790ef66f36 (patch) | |
tree | 3902b85e7659fd396ded1d2e42ea318153d08a13 /modules/prometheus-lvm-exporter.nix | |
parent | 73b08cbd76d4471c9a6fddd05265d7d7fc4c45ff (diff) | |
download | nixos-63adb41f1a060c21a68143eb9e86c2790ef66f36.tar nixos-63adb41f1a060c21a68143eb9e86c2790ef66f36.tar.gz nixos-63adb41f1a060c21a68143eb9e86c2790ef66f36.tar.bz2 nixos-63adb41f1a060c21a68143eb9e86c2790ef66f36.tar.xz nixos-63adb41f1a060c21a68143eb9e86c2790ef66f36.zip |
...
Diffstat (limited to 'modules/prometheus-lvm-exporter.nix')
-rw-r--r-- | modules/prometheus-lvm-exporter.nix | 4 |
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`. |