2020-04-24 23:36:52 +00:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.programs.geary;
|
|
|
|
|
|
|
|
in {
|
|
|
|
meta = {
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = lib.teams.gnome.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
options = {
|
2024-05-15 15:35:15 +00:00
|
|
|
programs.geary.enable = lib.mkEnableOption "Geary, a Mail client for GNOME";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
config = lib.mkIf cfg.enable {
|
2021-05-20 23:08:51 +00:00
|
|
|
environment.systemPackages = [ pkgs.gnome.geary ];
|
2020-04-24 23:36:52 +00:00
|
|
|
programs.dconf.enable = true;
|
2021-05-20 23:08:51 +00:00
|
|
|
services.gnome.gnome-keyring.enable = true;
|
|
|
|
services.gnome.gnome-online-accounts.enable = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|