about summary refs log tree commit diff stats
path: root/system/services/printing/default.nix
blob: 8676f4ff145a7a58cfe43a2c7ecf2465f7529206 (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];
  };
}