Unverified Commit 783ebc76 authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #231707 from figsoda/trip

parents 5ff59e34 3aa6580f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -108,6 +108,8 @@ In addition to numerous new and upgraded packages, this release has the followin

- [vault-agent](https://developer.hashicorp.com/vault/docs/agent), a template rendering and API auth proxy for HashiCorp Vault, similar to `consul-template`. Available as [services.vault-agent](#opt-services.vault-agent.instances).

- [trippy](https://github.com/fujiapple852/trippy), a network diagnostic tool. Available as [programs.trippy](#opt-programs.trippy.enable).

- [v2rayA](https://v2raya.org), a Linux web GUI client of Project V which supports V2Ray, Xray, SS, SSR, Trojan and Pingtunnel. Available as [services.v2raya](options.html#opt-services.v2raya.enable).

- [rshim](https://github.com/Mellanox/rshim-user-space), the user-space rshim driver for the BlueField SoC. Available as [services.rshim](options.html#opt-services.rshim.enable).
+1 −0
Original line number Diff line number Diff line
@@ -249,6 +249,7 @@
  ./programs/thunar.nix
  ./programs/tmux.nix
  ./programs/traceroute.nix
  ./programs/trippy.nix
  ./programs/tsm-client.nix
  ./programs/turbovnc.nix
  ./programs/udevil.nix
+24 −0
Original line number Diff line number Diff line
{ lib, config, pkgs, ... }:

let
  cfg = config.programs.trippy;
in

{
  options = {
    programs.trippy = {
      enable = lib.mkEnableOption (lib.mdDoc "trippy");
    };
  };

  config = lib.mkIf cfg.enable {
    security.wrappers.trip = {
      owner = "root";
      group = "root";
      capabilities = "cap_net_raw+p";
      source = lib.getExe pkgs.trippy;
    };
  };

  meta.maintainers = with lib.maintainers; [ figsoda ];
}