feat: install espanso
This commit is contained in:
parent
4bf909b4be
commit
7d2dd68bc5
1 changed files with 20 additions and 0 deletions
20
modules/home-manager/features/espanso.nix
Normal file
20
modules/home-manager/features/espanso.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
feature = "espanso";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
config = lib.mkIf config.${feature}.enable {
|
||||||
|
services.espanso = {
|
||||||
|
enable = true;
|
||||||
|
configs = { };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
imports = [ ];
|
||||||
|
|
||||||
|
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue