1
0
Fork 0
nixos/services/cups.nix

12 lines
245 B
Nix

{ config, lib, pkgs, ... }:
with lib;
mkIf (elem "cups" config.machine.services) {
services.printing = {
enable = true;
startWhenNeeded = true;
drivers = with pkgs; [ gutenprint hplip splix samsung-unified-linux-driver ];
};
}