mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:18:12 +09:00
23 lines
450 B
Nix
23 lines
450 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.my.features.gui.capture;
|
|
in
|
|
{
|
|
options.my.features.gui.capture = {
|
|
enable = lib.mkEnableOption "Screen capture tools (slurp, grim, wf-recorder)";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
slurp # Tool for selecting a region of the screen
|
|
grim # Screenshot tool for Wayland
|
|
wf-recorder # Screen recorder for Wayland
|
|
];
|
|
};
|
|
}
|