configuration
flake
hosts
lib
modules
pkgs
chromium-incognito
clerie-backup
clerie-keys
clerie-sops
clerie-system-remote-install
clerie-system-upgrade
clerie-update-nixfiles
factorio-launcher
feeds-dir
git-checkout-github-pr
git-diff-word
git-pp
git-show-link
iot-data
nix-remove-result-links
nixfiles
overrides
print-afra
default.nix
run-with-docker-group
ssh-gpg
update-from-hydra
uptimestatus
overlay.nix
pkgs.nix
profiles
users
.gitignore
README.md
flake.lock
flake.nix
12 lines
175 B
Nix
12 lines
175 B
Nix
{ pkgs, ... }:
|
|
|
|
pkgs.writeShellApplication {
|
|
name = "print-afra";
|
|
text = ''
|
|
cat "$@" | nc -N 172.23.42.215 9100
|
|
'';
|
|
runtimeInputs = with pkgs; [
|
|
netcat
|
|
];
|
|
}
|