{ config, pkgs, ... }: with import ; { imports = [ # # # # # # ]; krebs.build.host = config.krebs.hosts.styx; krebs.iptables.tables.filter.INPUT.rules = [ { predicate = "-p tcp --dport ${toString config.services.smokeping.port}"; target = "ACCEPT"; } ]; services.smokeping = { enable = true; targetConfig = '' probe = FPing menu = top title = top + Local menu = Local title = Local Network ++ LocalMachine menu = Local Machine title = This host host = localhost + Internet menu = internet title = internet ++ CloudflareDNS menu = Cloudflare DNS title = Cloudflare DNS server host = 1.1.1.1 ++ GoogleDNS menu = Google DNS title = Google DNS server host = 8.8.8.8 + retiolum menu = retiolum title = retiolum ++ gum menu = gum.r title = gum.r host = gum.r ++ ni menu = ni.r title = ni.r host = ni.r ++ prism menu = prism.r title = prism.r host = prism.r ''; }; }