]> Git — Sourcephile - julm/julm-nix.git/blob - nixos/profiles/hardware/HP_Deskjet_1510.nix
pumpkin: printing: improve config
[julm/julm-nix.git] / nixos / profiles / hardware / HP_Deskjet_1510.nix
1 { pkgs, ... }:
2 {
3 services.printing = {
4 enable = true;
5 drivers = [ pkgs.hplip ];
6 };
7 hardware.sane.enable = true;
8 hardware.sane.extraBackends = [ pkgs.hplipWithPlugin ];
9 hardware.printers.ensurePrinters = [
10 {
11 name = "HP_Deskjet_1510";
12 description = "HP Deskjet 1510";
13 deviceUri = "hp:/usb/Deskjet_1510_series?serial=CN53P2F1N105YR";
14 model = "HP Deskjet 1510 Series";
15 location = "Home";
16 }
17 ];
18 }