pkgs/print-afra: Add script for printing pdf in AfRA
This commit is contained in:
parent
0fb89ef74d
commit
9bc4ba3b77
@ -123,6 +123,7 @@
|
||||
nixfiles-generate-backup-secrets
|
||||
nixfiles-generate-config
|
||||
nixfiles-update-ssh-host-keys
|
||||
print-afra
|
||||
update-from-hydra
|
||||
uptimestatus;
|
||||
});
|
||||
|
@ -26,6 +26,8 @@
|
||||
|
||||
okular
|
||||
chromium-incognito
|
||||
|
||||
print-afra
|
||||
];
|
||||
|
||||
# Wireshark
|
||||
|
@ -10,6 +10,7 @@ final: prev: {
|
||||
nixfiles-generate-backup-secrets = final.callPackage ./nixfiles/nixfiles-generate-backup-secrets.nix {};
|
||||
nixfiles-generate-config = final.callPackage ./nixfiles/nixfiles-generate-config.nix {};
|
||||
nixfiles-update-ssh-host-keys = final.callPackage ./nixfiles/nixfiles-update-ssh-host-keys.nix {};
|
||||
print-afra = final.callPackage ./print-afra {};
|
||||
update-from-hydra = final.callPackage ./update-from-hydra {};
|
||||
uptimestatus = final.python3.pkgs.callPackage ./uptimestatus {};
|
||||
}
|
||||
|
11
pkgs/print-afra/default.nix
Normal file
11
pkgs/print-afra/default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
pkgs.writeShellApplication {
|
||||
name = "print-afra";
|
||||
text = ''
|
||||
cat "$@" | nc -N 172.23.42.215 9100
|
||||
'';
|
||||
runtimeInputs = with pkgs; [
|
||||
netcat
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user