{ config, lib, pkgs, ... }:
{
  config = lib.mkIf config.system.desktop.enable {
    services = {
      printing = {
        enable = true;
        drivers = with pkgs; [ hplip ];
        webInterface = false;
      };
      avahi = {
        enable = true;
        nssmdns4 = true;
        openFirewall = true;
      };
    };

    environment.systemPackages = with pkgs; [ system-config-printer ];
  };
}
