diff options
| author | Fuwn <[email protected]> | 2024-08-28 20:36:04 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-08-28 20:36:04 -0700 |
| commit | f3c31e4ad7fab36e151f3a2e207fafb1eda1a787 (patch) | |
| tree | e265a1a5270b4522049110b8bc5aa13fda142c2f /home/ebisu/meta/network/tools | |
| parent | many (diff) | |
| download | nixos-config-f3c31e4ad7fab36e151f3a2e207fafb1eda1a787.tar.xz nixos-config-f3c31e4ad7fab36e151f3a2e207fafb1eda1a787.zip | |
hi
Diffstat (limited to 'home/ebisu/meta/network/tools')
| -rw-r--r-- | home/ebisu/meta/network/tools/default.nix | 11 | ||||
| -rw-r--r-- | home/ebisu/meta/network/tools/http/default.nix | 8 | ||||
| -rw-r--r-- | home/ebisu/meta/network/tools/http/httpie/default.nix | 6 | ||||
| -rw-r--r-- | home/ebisu/meta/network/tools/http/wget.nix | 8 | ||||
| -rw-r--r-- | home/ebisu/meta/network/tools/http/yaak/default.nix | 28 | ||||
| -rw-r--r-- | home/ebisu/meta/network/tools/shark/default.nix | 8 | ||||
| -rw-r--r-- | home/ebisu/meta/network/tools/tcp/default.nix | 12 |
7 files changed, 81 insertions, 0 deletions
diff --git a/home/ebisu/meta/network/tools/default.nix b/home/ebisu/meta/network/tools/default.nix new file mode 100644 index 0000000..3b6d59f --- /dev/null +++ b/home/ebisu/meta/network/tools/default.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: { + imports = [ + ./http + ./shark + ./tcp + ]; + + home.packages = with pkgs; [ + lftp + ]; +} diff --git a/home/ebisu/meta/network/tools/http/default.nix b/home/ebisu/meta/network/tools/http/default.nix new file mode 100644 index 0000000..59d6efc --- /dev/null +++ b/home/ebisu/meta/network/tools/http/default.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: +{ + imports = [ + ./httpie + ./yaak + ./wget.nix + ]; +} diff --git a/home/ebisu/meta/network/tools/http/httpie/default.nix b/home/ebisu/meta/network/tools/http/httpie/default.nix new file mode 100644 index 0000000..b917245 --- /dev/null +++ b/home/ebisu/meta/network/tools/http/httpie/default.nix @@ -0,0 +1,6 @@ +{ pkgs, ... }: { + home.packages = with pkgs; [ + httpie + httpie-desktop + ]; +} diff --git a/home/ebisu/meta/network/tools/http/wget.nix b/home/ebisu/meta/network/tools/http/wget.nix new file mode 100644 index 0000000..c5d2936 --- /dev/null +++ b/home/ebisu/meta/network/tools/http/wget.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: +{ + home.packages = [ pkgs.wget ]; + + xdg.configFile."wget/wgetrc".text = '' + hsts-file=~/.cache/wget-hsts + ''; +} diff --git a/home/ebisu/meta/network/tools/http/yaak/default.nix b/home/ebisu/meta/network/tools/http/yaak/default.nix new file mode 100644 index 0000000..05bf0e7 --- /dev/null +++ b/home/ebisu/meta/network/tools/http/yaak/default.nix @@ -0,0 +1,28 @@ +{ pkgs, lib, ... }: +let + yaak-archive = pkgs.fetchzip { + url = "https://releases.yaak.app/releases/2024.6.6/yaak_2024.6.6_amd64.AppImage.tar.gz"; + hash = "sha256-Qnc4RlQmQWHARreQ69jAshq57bZ56Yt5a35jpTjGwNU="; + }; + + version = "2024.6.6"; + + # https://discourse.nixos.org/t/creating-a-nix-derivation-for-an-appimage/31927 + yaak = pkgs.appimageTools.wrapType2 { + pname = "yaak"; + version = version; + src = "${yaak-archive}/yaak_${version}_amd64.AppImage"; + + meta = with lib; { + description = "Play with APIs, intuitively"; + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; + homepage = "https://yaak.app/"; + license = licenses.unfree; + platforms = platforms.linux; + mainProgram = "yaak"; + }; + }; +in +{ + home.packages = [ yaak ]; +} diff --git a/home/ebisu/meta/network/tools/shark/default.nix b/home/ebisu/meta/network/tools/shark/default.nix new file mode 100644 index 0000000..5305bdf --- /dev/null +++ b/home/ebisu/meta/network/tools/shark/default.nix @@ -0,0 +1,8 @@ +{ pkgs +, ... +}: { + home.packages = with pkgs; [ + termshark + wireshark + ]; +} diff --git a/home/ebisu/meta/network/tools/tcp/default.nix b/home/ebisu/meta/network/tools/tcp/default.nix new file mode 100644 index 0000000..6af1824 --- /dev/null +++ b/home/ebisu/meta/network/tools/tcp/default.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: { + home.packages = with pkgs; [ + bmon + netcat-openbsd + nethogs + inetutils + whois + speedtest-cli + traceroute + iptraf-ng + ]; +} |