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

25 lines
458 B
Nix
Raw Normal View History

{ config, lib, ... }:
2024-11-20 22:42:14 +00:00
2024-12-10 21:40:33 +00:00
with lib;
{
2024-12-10 21:40:33 +00:00
options.features.desktop.espanso.enable = mkEnableOption "Enable espanso";
2023-12-14 23:59:56 +00:00
2024-12-10 21:40:33 +00:00
config = 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
};
};
}