about summary refs log tree commit diff stats
path: root/sys/svcs/scanning/default.nix
blob: 6621e08f9d1b1661e1ea23e45379afa011faf253 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{pkgs, ...}: {
  hardware = {
    sane = {
      enable = true;
      extraBackends = [pkgs.sane-airscan];
    };
  };

  users.users.soispha.extraGroups = [
    "scanner" # for permission to access the scanner.
  ];
}