summaryrefslogtreecommitdiff
path: root/os/srv/ntopng.nix
blob: 3c1153467958b2077fa4f3512d28e2e6cc8679cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ config, lib, ... }:
let
  cfg = config.os.srv.ntopng;
in
{
  options.os.srv.ntopng.enable = lib.mkEnableOption "enables ntopng monitoring";
  config = lib.mkIf cfg.enable {
    services.ntopng = {
      enable = true;
      httpPort = 3000;
      extraConfig = "--packet-fanout";

      # TODO fill interfaces
      interfaces = [
        ""
        ""
      ];
    };
  };
}