309 current 2025-02-09 01:23:40 25.05.20241217.d3c42f1 6.6.66 *
This commit is contained in:
29
home/tb.nix
29
home/tb.nix
@@ -1,16 +1,15 @@
|
||||
# scripts.nix
|
||||
# {pkgs, ...}: {
|
||||
# home.packages = with pkgs; [
|
||||
# (writeShellApplication {
|
||||
# name = "termbin";
|
||||
# runtimeInputs = with pkgs; [
|
||||
# netcat
|
||||
# ];
|
||||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
(writeShellApplication {
|
||||
name = "termbin";
|
||||
runtimeInputs = with pkgs; [
|
||||
netcat
|
||||
];
|
||||
|
||||
# text = ''
|
||||
# file=$1
|
||||
# cat "$1" | nc termbin.com 9999
|
||||
# '';
|
||||
# })
|
||||
# ];
|
||||
# }
|
||||
text = ''
|
||||
file=$1
|
||||
cat "$1" | nc termbin.com 9999
|
||||
'';
|
||||
})
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user