about summary refs log tree commit diff stats
path: root/system/services/printing/default.nix
blob: 2e3ef2d2e88a9b216495f1410940e7cfb14f1e83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# vim: ts=2
{
  config,
  pkgs,
  ...
}: {
  services.avahi = {
    enable = true;
    nssmdns = true;
    openFirewall = true;
  };
  services.printing = {
    enable = true;
    webInterface = false; # don't enable the webinterface
    drivers = with pkgs; [
      gutenprint
    ];
  };
  hardware.sane = {
    # TODO this properly won't work like this
    enable = true;
    extraBackends = [pkgs.sane-airscan];
  };
}