From 2aa3e62136109c5c4762e951525d68aff3e1ac5a Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 8 Apr 2022 08:30:17 -0700 Subject: home: add more configurations for home-manager --- home/scanner/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 home/scanner/default.nix (limited to 'home/scanner') diff --git a/home/scanner/default.nix b/home/scanner/default.nix new file mode 100644 index 0000000..aa3da7c --- /dev/null +++ b/home/scanner/default.nix @@ -0,0 +1,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 ]; + }; +} + -- cgit 1.4.1