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