dotfiles/system/nixos/home-manager/modules/espanso.nix

42 lines
784 B
Nix
Raw Normal View History

2023-12-14 23:59:56 +00:00
let
baseUrl = "https://www.oliverdavies.dev";
in
2023-12-15 11:12:08 +00:00
{
2023-12-14 23:59:56 +00:00
services.espanso = {
enable = true;
configs = {
default = {
show_notifications = false;
};
};
matches = {
base = {
matches = [
{
trigger = ":atdc";
replace = "${baseUrl}/atdc";
}
{
trigger = ":call";
replace = "${baseUrl}/call";
}
{
trigger = ":coaching";
replace = "${baseUrl}/team-coaching";
}
2023-12-15 11:12:08 +00:00
{
trigger = ":dotfiles";
replace = "https://github.com/opdavies/dotfiles";
}
2023-12-15 11:24:50 +00:00
{
trigger = ":website";
replace = "${baseUrl}";
}
2023-12-14 23:59:56 +00:00
];
};
};
};
}