2019-02-26 13:44:40 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
2019-03-20 02:57:59 +01:00
|
|
|
with lib;
|
|
|
|
|
|
|
|
mkIf (elem "cups" config.machine.services) {
|
2019-02-26 13:44:40 +01:00
|
|
|
services.printing = {
|
|
|
|
enable = true;
|
|
|
|
startWhenNeeded = true;
|
|
|
|
drivers = with pkgs; [ gutenprint hplip splix samsung-unified-linux-driver ];
|
|
|
|
};
|
|
|
|
}
|