2024-11-26 08:27:14 +00:00
|
|
|
{ config, lib, ... }:
|
2024-11-20 22:42:14 +00:00
|
|
|
|
2024-12-10 21:40:33 +00:00
|
|
|
with lib;
|
|
|
|
|
2024-06-10 08:31:28 +00:00
|
|
|
{
|
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 {
|
2024-11-26 08:27:14 +00:00
|
|
|
services.espanso = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
configs = {
|
|
|
|
default = {
|
|
|
|
show_notifications = false;
|
|
|
|
toggle_key = "LEFT_ALT";
|
|
|
|
};
|
2024-06-10 08:31:28 +00:00
|
|
|
};
|
2023-12-14 23:59:56 +00:00
|
|
|
|
2024-11-26 08:27:14 +00:00
|
|
|
matches = {
|
|
|
|
base = import ./espanso/matches/base.nix { inherit lib; };
|
|
|
|
};
|
2023-12-14 23:59:56 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|