about summary refs log tree commit diff
path: root/home/scanner/default.nix
blob: fefbd54ef3e74cfebe6544c3d5480f238e823d29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{ config, lib, pkgs, ... }:
let cfg = config.my.home.scanner;
in
{
  options.my.home.scanner = with lib; {
    enable = mkEnableOption "scanner configuration";
  };
  config = lib.mkIf cfg.enable {
    home.packages = with pkgs; [ tesseract imagemagick exiftool sane-airscan ];
  };
}