1 { config, lib, pkgs, ... }:
4 cfg = config.programs.sniffnet;
10 enable = lib.mkEnableOption "sniffnet, a network traffic monitor application";
14 config = lib.mkIf cfg.enable {
15 security.wrappers.sniffnet = {
18 capabilities = "cap_net_raw,cap_net_admin=eip";
19 source = "${pkgs.sniffnet}/bin/sniffnet";
23 meta.maintainers = with lib.maintainers; [ figsoda ];