mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 18:24:09 +09:00
fix
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user