summaryrefslogtreecommitdiff
path: root/hm/env/screenshot.nix
blob: e61e3dea2287dfb5ee2c504603f5420d469bc7e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ 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
    ];
  };
}