summaryrefslogtreecommitdiff
path: root/hm/env/screenshot.nix
blob: eac2fe73e1ad0179d2f89dfbe5c7c94af4a9e32c (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
    ];
  };
}