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.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/hm/env/screenshot.nix b/hm/env/screenshot.nix
index e61e3de..eac2fe7 100644
--- a/hm/env/screenshot.nix
+++ b/hm/env/screenshot.nix
@@ -1,14 +1,18 @@
-{ config, lib, pkgs, ... }:
-let
- cfg = config.hm.env.screenshot;
-in
{
+ 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
];