Try to make printer not hold up rebuild
I'm not sure the printer still works, I'm on another network, but at least it doesn't make the rebuild process hang.
This commit is contained in:
parent
227371359f
commit
de0b9e515f
|
@ -39,16 +39,16 @@
|
|||
ensureDefaultPrinter = "HL-L8250CDW";
|
||||
ensurePrinters = [{
|
||||
name = "HL-L8250CDW";
|
||||
deviceUri = "ipp://192.168.88.10/ipp";
|
||||
model = "everywhere";
|
||||
deviceUri = "ipps://192.168.88.10/ipp/print";
|
||||
model = "Brother_HL-L8250CDN.ppd";
|
||||
description = "Brother HL-L8250CDW";
|
||||
location = "kids desks";
|
||||
ppdOptions = {
|
||||
PageSize = "Letter";
|
||||
Duplex = "DuplexNoTumble"; # Double-sided along the long edge
|
||||
Resolution = "600dpi";
|
||||
PrintQuality = "4";
|
||||
PwgRasterDocumentType = "Rgb_8";
|
||||
Duplex = "DuplexNoTumble"; # Double-sided along the long edge
|
||||
Resolution = "600dpi";
|
||||
PrintQuality = "4";
|
||||
PwgRasterDocumentType = "Rgb_8";
|
||||
};
|
||||
}];
|
||||
};
|
||||
|
@ -132,6 +132,8 @@
|
|||
# and 'msexpand USA/brphl8250cdn.pp_' to expand it. Those tools are available in the _7zz and mscompress
|
||||
# modules, respectively: 'nix-shell -p _7zz mscompress'.
|
||||
(pkgs.writeTextDir "share/cups/model/Brother_HL-L8250CDN.ppd" (builtins.readFile ./Brother_HL-L8250CDN.ppd))
|
||||
# See https://github.com/NixOS/nixpkgs/issues/78535#issuecomment-2200268221
|
||||
# for an attempt at making this work when away from the printer
|
||||
];
|
||||
|
||||
# Enable rpcbind for nfs mounting
|
||||
|
|
Loading…
Reference in New Issue