1 { config, lib, pkgs, ... }:
4 cfg = config.programs.dublin-traceroute;
7 meta.maintainers = pkgs.dublin-traceroute.meta.maintainers;
10 programs.dublin-traceroute = {
11 enable = lib.mkEnableOption "dublin-traceroute (including setcap wrapper)";
13 package = lib.mkPackageOption pkgs "dublin-traceroute" { };
17 config = lib.mkIf cfg.enable {
18 environment.systemPackages = [ cfg.package ];
20 security.wrappers.dublin-traceroute = {
23 capabilities = "cap_net_raw+p";
24 source = lib.getExe cfg.package;