306 current 2025-01-25 22:09:05 25.05.20241217.d3c42f1 6.6.66 *
This commit is contained in:
@@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user