nixos/services/cups.nix

12 lines
245 B
Nix
Raw Normal View History

2019-02-26 13:44:40 +01:00
{ config, lib, pkgs, ... }:
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 ];
};
}