2023-09-11 20:23:04 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2019-03-20 02:57:59 +01:00
|
|
|
with lib;
|
2023-09-11 20:23:04 +02:00
|
|
|
mkIf (elem "cups" config.machine.services) {
|
|
|
|
services.printing = {
|
|
|
|
enable = true;
|
2024-11-16 10:58:31 +01:00
|
|
|
browsed.enable = false;
|
2023-09-11 20:23:04 +02:00
|
|
|
startWhenNeeded = true;
|
|
|
|
drivers = with pkgs; [gutenprint hplip splix samsung-unified-linux-driver];
|
|
|
|
};
|
|
|
|
}
|