{ config, lib, pkgs, ... }: let cfg = config.hm.env.screenshot; in { options.hm.env.screenshot.enable = lib.mkEnableOption "enables screenshot utilities"; config = lib.mkIf cfg.enable { programs.satty = { enable = true; }; home.packages = with pkgs; [ grim slurp ]; }; }