1
0

pkgs/print-afra: Add script for printing pdf in AfRA

This commit is contained in:
2024-03-19 17:51:59 +01:00
parent 0fb89ef74d
commit 9bc4ba3b77
4 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{ pkgs, ... }:
pkgs.writeShellApplication {
name = "print-afra";
text = ''
cat "$@" | nc -N 172.23.42.215 9100
'';
runtimeInputs = with pkgs; [
netcat
];
}