about summary refs log tree commit diff
path: root/home/scanner/default.nix
blob: aa3da7c550dc0551f60fb347e4783b94d09df70f (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 ];
  };
}