Skip to content

Commit

Permalink
Readd printer every time it gets reconected and make cups stateless
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoriguchi committed Sep 18, 2024
1 parent df3a6bc commit 67e2119
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
}];

services = {
# lsusb
udev.extraRules = ''
ACTION=="add", SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="03f0", ENV{ID_MODEL_ID}=="c511", RUN+="${pkgs.systemd}/bin/systemctl restart ensure-printers.service"
'';

printing = {
enable = true;

Expand Down

0 comments on commit 67e2119

Please sign in to comment.