1 { config, lib, pkgs, ... }:
6 cfg = config.programs.traceroute;
9 programs.traceroute = {
13 description = lib.mdDoc ''
14 Whether to configure a setcap wrapper for traceroute.
20 config = mkIf cfg.enable {
21 security.wrappers.traceroute = {
24 capabilities = "cap_net_raw+p";
25 source = "${pkgs.traceroute}/bin/traceroute";