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

23 lines
455 B
Nix
Raw Normal View History

{ config, lib, ... }:
2024-11-20 22:42:14 +00:00
{
options.features.desktop.espanso.enable = lib.mkEnableOption "Enable espanso";
2023-12-14 23:59:56 +00:00
config = lib.mkIf config.features.desktop.espanso.enable {
services.espanso = {
enable = true;
configs = {
default = {
show_notifications = false;
toggle_key = "LEFT_ALT";
};
};
2023-12-14 23:59:56 +00:00
matches = {
base = import ./espanso/matches/base.nix { inherit lib; };
};
2023-12-14 23:59:56 +00:00
};
};
}