dotfiles/nix/modules/home-manager/features/desktop/espanso.nix

25 lines
458 B
Nix

{ config, lib, ... }:
with lib;
{
options.features.desktop.espanso.enable = mkEnableOption "Enable espanso";
config = mkIf config.features.desktop.espanso.enable {
services.espanso = {
enable = true;
configs = {
default = {
show_notifications = false;
toggle_key = "LEFT_ALT";
};
};
matches = {
base = import ./espanso/matches/base.nix { inherit lib; };
};
};
};
}