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

78 lines
1.6 KiB
Nix
Raw Normal View History

2023-12-14 23:59:56 +00:00
let
2024-01-10 13:00:00 +00:00
baseUrl = "https://www.oliverdavies.uk";
2023-12-14 23:59:56 +00:00
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 = [
2024-01-06 19:16:56 +00:00
{
trigger = ":archive";
replace = "${baseUrl}/archive";
}
2023-12-14 23:59:56 +00:00
{
trigger = ":atdc";
replace = "${baseUrl}/atdc";
}
{
trigger = ":call";
replace = "${baseUrl}/call";
}
{
trigger = ":coaching";
replace = "${baseUrl}/team-coaching";
}
2024-01-06 19:16:56 +00:00
{
trigger = ":daily";
replace = "${baseUrl}/daily";
}
2023-12-15 11:12:08 +00:00
{
trigger = ":dotfiles";
replace = "https://github.com/opdavies/dotfiles";
}
2024-01-06 19:16:56 +00:00
{
trigger = ":dc";
replace = "Drupal Commerce";
}
{
trigger = ":dr";
replace = "Drupal";
}
{
trigger = ":gt";
replace = "Great, thanks!";
}
{
trigger = ":lh";
replace = "http://localhost";
}
2024-01-10 13:00:00 +00:00
{
trigger = ":podcast";
replace = "${baseUrl}/podcast";
}
{
trigger = ":pricing";
replace = "${baseUrl}/pricing";
}
2024-01-06 19:16:56 +00:00
{
trigger = ":talks";
replace = "${baseUrl}/talks";
}
2023-12-15 11:24:50 +00:00
{
trigger = ":website";
replace = "${baseUrl}";
}
2023-12-14 23:59:56 +00:00
];
};
};
};
}