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

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