lol

nixos/trippy: init

figsoda 3aa6580f 9daee206

+27
+2
nixos/doc/manual/release-notes/rl-2305.section.md
··· 104 104 105 105 - [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). 106 106 107 + - [trippy](https://github.com/fujiapple852/trippy), a network diagnostic tool. Available as [programs.trippy](#opt-programs.trippy.enable). 108 + 107 109 - [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). 108 110 109 111 - [wstunnel](https://github.com/erebe/wstunnel), a proxy tunnelling arbitrary TCP or UDP traffic through a WebSocket connection. Instances may be configured via [services.wstunnel](options.html#opt-services.wstunnel.enable).
+1
nixos/modules/module-list.nix
··· 249 249 ./programs/thunar.nix 250 250 ./programs/tmux.nix 251 251 ./programs/traceroute.nix 252 + ./programs/trippy.nix 252 253 ./programs/tsm-client.nix 253 254 ./programs/turbovnc.nix 254 255 ./programs/udevil.nix
+24
nixos/modules/programs/trippy.nix
··· 1 + { lib, config, pkgs, ... }: 2 + 3 + let 4 + cfg = config.programs.trippy; 5 + in 6 + 7 + { 8 + options = { 9 + programs.trippy = { 10 + enable = lib.mkEnableOption (lib.mdDoc "trippy"); 11 + }; 12 + }; 13 + 14 + config = lib.mkIf cfg.enable { 15 + security.wrappers.trip = { 16 + owner = "root"; 17 + group = "root"; 18 + capabilities = "cap_net_raw+p"; 19 + source = lib.getExe pkgs.trippy; 20 + }; 21 + }; 22 + 23 + meta.maintainers = with lib.maintainers; [ figsoda ]; 24 + }