More printers!!!!!

This commit is contained in:
notgne2 2021-08-14 14:01:59 -07:00
parent abcb1071b2
commit 48282bcea5
No known key found for this signature in database
GPG Key ID: BB661E172B42A7F8

View File

@ -2,6 +2,8 @@
with lib; with lib;
let let
cfg = config.fuckingprint; cfg = config.fuckingprint;
fixPlatforms = p: p.overrideAttrs (super: super // { meta = super.meta // { platforms = super.meta.platforms ++ [ "x86_64-linux" ]; }; });
in in
{ {
options.fuckingprint.enable = mkEnableOption "Make my fucking printer work"; options.fuckingprint.enable = mkEnableOption "Make my fucking printer work";
@ -28,23 +30,60 @@ in
brgenml1lpr brgenml1lpr
brgenml1cupswrapper brgenml1cupswrapper
carps-cups
epson-201106w
epson-alc1100
epson-escpr
epson-escpr2
epson-workforce-635-nx625-series
epson_201207w
fxlinuxprint
canon-cups-ufr2
cups-bjnp
cups-brother-hl1110 cups-brother-hl1110
cups-brother-hl1210w
cups-brother-hl3140cw
cups-brother-hll2340dw
cups-drv-rastertosag-gdi
cups-dymo
cups-kyocera
cups-kyocera-ecosys-m552x-p502x
# cups-kyodialog3 # Mirror is down
cups-toshiba-estudio
cups-zj-58
mfc9140cdncupswrapper
mfc9140cdnlpr
mfcj470dw-cupswrapper mfcj470dw-cupswrapper
mfcj6510dw-cupswrapper
mfcl3770cdwcupswrapper
mfcl2700dncupswrapper
mfcl2720dwcupswrapper
mfcl2740dwcupswrapper
mfcj470dwlpr mfcj470dwlpr
mfcj6510dw-cupswrapper
mfcj6510dwlpr mfcj6510dwlpr
mfcl3770cdwlpr mfcl2700dncupswrapper
mfcl2700dnlpr mfcl2700dnlpr
mfcl2720dwcupswrapper
mfcl2720dwlpr mfcl2720dwlpr
mfcl2740dwcupswrapper
mfcl2740dwlpr mfcl2740dwlpr
mfcl3770cdwcupswrapper
mfcl3770cdwlpr
# Maybe this isn't a good idea?
(mfcl8690cdwcupswrapper.override { mfcl8690cdwlpr = fixPlatforms mfcl8690cdwlpr; })
(fixPlatforms mfcl8690cdwlpr)
]; ];
hardware.sane.enable = true; hardware.sane.enable = true;
hardware.sane.brscan4.enable = true; hardware.sane.brscan4.enable = true;