Rename system
to lib
This commit is contained in:
parent
cf4c9710a2
commit
addad268e5
18 changed files with 2 additions and 2 deletions
80
lib/nixos/home-manager/modules/espanso.nix
Normal file
80
lib/nixos/home-manager/modules/espanso.nix
Normal file
|
@ -0,0 +1,80 @@
|
|||
let
|
||||
baseUrl = "https://www.oliverdavies.uk";
|
||||
in {
|
||||
services.espanso = {
|
||||
enable = true;
|
||||
|
||||
configs = {
|
||||
default = {
|
||||
show_notifications = false;
|
||||
};
|
||||
};
|
||||
|
||||
matches = {
|
||||
base = {
|
||||
matches = [
|
||||
{
|
||||
trigger = ":archive";
|
||||
replace = "${baseUrl}/archive";
|
||||
}
|
||||
{
|
||||
trigger = ":atdc";
|
||||
replace = "${baseUrl}/atdc";
|
||||
}
|
||||
{
|
||||
trigger = ":call";
|
||||
replace = "${baseUrl}/call";
|
||||
}
|
||||
{
|
||||
trigger = ":coaching";
|
||||
replace = "${baseUrl}/team-coaching";
|
||||
}
|
||||
{
|
||||
trigger = ":daily";
|
||||
replace = "${baseUrl}/daily";
|
||||
}
|
||||
{
|
||||
trigger = ":dotfiles";
|
||||
replace = "https://github.com/opdavies/dotfiles.nix";
|
||||
}
|
||||
{
|
||||
trigger = ":dc";
|
||||
replace = "Drupal Commerce";
|
||||
}
|
||||
{
|
||||
trigger = ":dr";
|
||||
replace = "Drupal";
|
||||
}
|
||||
{
|
||||
trigger = ":gt";
|
||||
replace = "Great, thanks!";
|
||||
}
|
||||
{
|
||||
trigger = ":lh";
|
||||
replace = "http://localhost";
|
||||
}
|
||||
{
|
||||
trigger = ":podcast";
|
||||
replace = "${baseUrl}/podcast";
|
||||
}
|
||||
{
|
||||
trigger = ":pricing";
|
||||
replace = "${baseUrl}/pricing";
|
||||
}
|
||||
{
|
||||
trigger = ":talks";
|
||||
replace = "${baseUrl}/talks";
|
||||
}
|
||||
{
|
||||
trigger = ":website";
|
||||
replace = "${baseUrl}";
|
||||
}
|
||||
{
|
||||
trigger = ":zoom";
|
||||
replace = "https://savvycal.com/opdavies/zoom";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue