fruitbasket/modules/printing.nix

30 lines
576 B
Nix
Raw Normal View History

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";
deviceUri = "";
location = "FSR Buero";
model = "Kyocera ECOSYS M6630cidn KPDL";
name = "Heiko";
}
];
2021-11-17 11:39:34 +01:00
}