summaryrefslogtreecommitdiff
path: root/machines/common/printer.nix
blob: 695d1fe8da7e7c2932edbf9e5395f151cfadf4ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{pkgs, ...}: {
  services.avahi = {
    enable = true;
    nssmdns4 = true;
    openFirewall = true;
  };

  services.printing = {
    enable = true;
    drivers = with pkgs; [
      cups-filters
      cups-browsed
    ];
  };

  services.ipp-usb.enable = true;
}