306 current 2025-01-25 22:09:05 25.05.20241217.d3c42f1 6.6.66 *

This commit is contained in:
2025-01-25 23:28:25 -05:00
parent b119528110
commit 1405bb6d3f
3 changed files with 39 additions and 35 deletions

View File

@@ -1,16 +1,10 @@
# scripts.nix
{pkgs, ...}: {
home.packages = with pkgs; [
(writeShellApplication {
name = "termbin";
runtimeInputs = with pkgs; [
netcat
];
text = ''
file=$1
cat "$1" | nc termbin.com 9999
'';
})
];
tb = pkgs.writeShellApplication {
name = "termbin";
runtimeInputs = with pkgs; [netcat];
text = ''
file=$1
cat "$file" | nc termbin.com 9999
'';
};
}