fix: add support for QL-800
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c1158e26cb
commit
7be9e41657
|
@ -75,6 +75,10 @@ in {
|
|||
pkgs.cups-brother-hl3140cw
|
||||
];
|
||||
|
||||
services.udev.extraRules = ''
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="209e", ATTRS{serial}=="000W0H924252", MODE="0664", GROUP="lp", SYMLINK+="usb/lp0"
|
||||
'';
|
||||
|
||||
home-manager.users."${psCfg.user.name}" = {
|
||||
xdg.configFile = mkIf psCfg.sway.enable {
|
||||
"sway/config.d/10-autostart.conf".source = ./.config/sway/config.d/autostart.conf;
|
||||
|
|
|
@ -27,7 +27,6 @@ in {
|
|||
];
|
||||
hardware.sane = {
|
||||
enable = true;
|
||||
brscan4.enable = true;
|
||||
extraBackends = [pkgs.hplipWithPlugin];
|
||||
};
|
||||
};
|
||||
|
|
6
pkgs/print-label.nix
Normal file
6
pkgs/print-label.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
self:
|
||||
with self; ''
|
||||
TMPDIR=${coreutils}/bin/mktemp
|
||||
echo "ASN#$1" > "$TMPDIR/input.txt"
|
||||
${imagemagick}/bin/convert -size 696x64 xc:white -font "FreeMono" -pointsize 48 -fill black -annotate +16+48 "@$TMPDIR/input.txt" test.png
|
||||
''
|
Loading…
Reference in a new issue