From 1c248cde0d467fc3dc07f5c7d9cba20a0529aae7 Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Sat, 25 Jan 2025 22:10:09 -0500 Subject: [PATCH] 306 current 2025-01-25 22:09:05 25.05.20241217.d3c42f1 6.6.66 * --- scripts/tb.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 scripts/tb.nix diff --git a/scripts/tb.nix b/scripts/tb.nix new file mode 100644 index 0000000..12f070e --- /dev/null +++ b/scripts/tb.nix @@ -0,0 +1,16 @@ +# scripts.nix +{pkgs, ...}: { + home.packages = with pkgs; [ + (writeShellApplication { + name = "termbin"; + runtimeInputs = with pkgs; [ + netcat + ]; + + text = '' + file=$1 + cat "$1" | nc termbin.com 9999 + ''; + }) + ]; +}