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.
13 lines
279 B
Nix
13 lines
279 B
Nix
{
|
|
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;
|
|
};
|
|
}
|