2021-11-17 11:39:34 +01:00
|
|
|
{ pkgs, config, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# Enable CUPS to print documents.
|
2022-03-05 16:14:16 +01:00
|
|
|
services= {
|
|
|
|
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 = [
|
|
|
|
{
|
|
|
|
description = "Drucker im FSR Buero";
|
2022-03-07 15:43:40 +01:00
|
|
|
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";
|
2022-03-07 15:31:56 +01:00
|
|
|
location = "FSR Buero";
|
|
|
|
model = "Kyocera ECOSYS M6630cidn KPDL";
|
|
|
|
name = "Heiko";
|
|
|
|
}
|
|
|
|
];
|
2021-11-17 11:39:34 +01:00
|
|
|
}
|