Group modules into feature directories

This commit is contained in:
Oliver Davies 2024-11-26 08:40:00 +00:00
parent 0baed7e6f6
commit 9782272a76
49 changed files with 244 additions and 83 deletions

View file

@ -0,0 +1,22 @@
{ config, lib, ... }:
{
options.features.desktop.espanso.enable = lib.mkEnableOption "Enable espanso";
config = lib.mkIf config.features.desktop.espanso.enable {
services.espanso = {
enable = true;
configs = {
default = {
show_notifications = false;
toggle_key = "LEFT_ALT";
};
};
matches = {
base = import ./espanso/matches/base.nix { inherit lib; };
};
};
};
}