MyNixOS website logo
option

services.prometheus.exporters.smartctl.firewallRules

Specify rules for nftables to add to the input chain when services.prometheus.exporters.smartctl.openFirewall is true.

Declarations
Type
null or strings concatenated with "\n"
Default
null
Example
iifname "eth0" tcp dport 9633 counter accept