about summary refs log tree commit diff
path: root/home/scanner/default.nix
blob: ee51239dd95e3f859fe9080c395709e943aa4b2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{ 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 ];
  };
}