fruitbasket/modules/printing.nix

37 lines
948 B
Nix
Raw Normal View History

2021-11-17 11:39:34 +01:00
{ pkgs, config, ... }:
{
# Enable CUPS to print documents.
2022-09-06 17:16:31 +02:00
services = {
2022-03-05 16:14:16 +01:00
printing.enable = true;
printing.drivers = with pkgs; [
gutenprint
gutenprintBin
hplip
hplipWithPlugin
];
avahi.enable = true;
};
2022-03-07 15:31:56 +01:00
environment.systemPackages = with pkgs; [
gnome.gnome-control-center
];
2021-11-17 11:39:34 +01:00
# set up Heiko
2022-03-07 15:31:56 +01:00
hardware.printers.ensurePrinters = [
2022-09-06 17:16:31 +02:00
{
description = "Drucker im FSR Buero";
deviceUri = "dnssd://Kyocera%20ECOSYS%20M6630cidn._ipp._tcp.local/?uuid=4509a320-007e-002c-00dd-002507504ad0";
location = "FSR Buero";
model = "Kyocera ECOSYS M6630cidn KPDL";
name = "Heiko";
}
{
description = "Drucker im FSR Buero";
deviceUri = "dnssd://Kyocera%20ECOSYS%20M6630cidn._pdl-datastream._tcp.local/?uuid=4509a320-007e-002c-00dd-002507504ad0";
location = "FSR Buero";
model = "Kyocera ECOSYS M6630cidn KPDL";
name = "Heiko";
}
2022-03-07 15:31:56 +01:00
];
2021-11-17 11:39:34 +01:00
}