complete-computing-environment/cups_setup.org

40 lines
1.1 KiB
Org Mode

:PROPERTIES:
:ID: 20230321T143139.441973
:ROAM_ALIASES: "Brother DCP-L2550DW"
:ROAM_REFS: https://www.pcmag.com/reviews/brother-dcp-l2550dw
:END:
#+TITLE: My Brother Printer and CUPS Setup
#+ARROYO_NIXOS_MODULE: nixos/cups.nix
#+ARROYO_SYSTEM_EXCLUDE: droid
#+AUTO_TANGLE: t
#+ARCOLOGY_KEY: cce/cups-setup-dcp-l2550dw
#+ARCOLOGY_ALLOW_CRAWL: t
#+begin_src nix :tangle ~/arroyo-nix/nixos/cups.nix
{ pkgs, ... }:
{
# environment.systemPackages = with pkgs; [ gscan2pdf skanlite gocr ];
services.printing.enable = true;
services.printing.drivers = [ pkgs.brlaser ];
hardware.printers.ensurePrinters = [
{
name = "brotha";
description = "Brother DCP-L2550DW";
deviceUri = "dnssd://Brother%20DCP-L2550DW%20series._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-b42200ae9c8e";
location = "tearoom";
model = "everywhere";
}
];
hardware.sane.enable = true;
services.saned.enable = true;
}
#+end_src
* NEXT gscan2pdf broken [[https://github.com/NixOS/nixpkgs/issues/223446][in nixpkgs-unstable]]
SCHEDULED: <2023-04-03 Mon>