summaryrefslogtreecommitdiff
path: root/hm/env/screenshot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hm/env/screenshot.nix')
-rw-r--r--hm/env/screenshot.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/hm/env/screenshot.nix b/hm/env/screenshot.nix
new file mode 100644
index 0000000..e61e3de
--- /dev/null
+++ b/hm/env/screenshot.nix
@@ -0,0 +1,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
+ ];
+ };
+}