Enable Evolution module and bind shortcut
Add core/evolution.nix with a toggleable option and import it in the core defaults. Enable the option on desktop, laptop, and default hosts. Remove the duplicated evolution‑data‑server enable flag from services.nix. Add a Hyprland keybinding (Super Shift E) to launch Evolution.
This commit is contained in:
12
modules/core/evolution.nix
Normal file
12
modules/core/evolution.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options.evolution.enable = lib.mkEnableOption "Enable Evolution";
|
||||
|
||||
config = {
|
||||
programs.evolution.enable = lib.mkIf config.evolution.enable true;
|
||||
services.gnome.evolution-data-server.enable = lib.mkIf config.evolution.enable true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user