2023-10-04 14:43:06 +02:00
|
|
|
{pkgs, ...}: {
|
|
|
|
services.printing = {
|
|
|
|
enable = true;
|
2024-01-26 01:04:08 +01:00
|
|
|
drivers = [pkgs.hplipWithPlugin pkgs.hplip];
|
2023-10-04 14:43:06 +02:00
|
|
|
};
|
2024-01-26 01:04:08 +01:00
|
|
|
environment.persistence."/state".directories = [
|
|
|
|
{
|
|
|
|
directory = "/var/lib/cups";
|
|
|
|
mode = "755";
|
|
|
|
}
|
|
|
|
];
|
2023-10-04 14:43:06 +02:00
|
|
|
}
|