2020-01-10 01:33:38 +01:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.programs.geary;
|
|
|
|
|
|
|
|
in {
|
2020-04-02 02:16:24 +02:00
|
|
|
meta = {
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
};
|
|
|
|
|
2020-01-10 01:33:38 +01:00
|
|
|
options = {
|
2022-08-28 21:18:44 +02:00
|
|
|
programs.geary.enable = mkEnableOption (lib.mdDoc "Geary, a Mail client for GNOME 3");
|
2020-01-10 01:33:38 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
2021-05-07 23:18:14 +02:00
|
|
|
environment.systemPackages = [ pkgs.gnome.geary ];
|
2020-01-10 01:33:38 +01:00
|
|
|
programs.dconf.enable = true;
|
2021-05-07 23:18:14 +02:00
|
|
|
services.gnome.gnome-keyring.enable = true;
|
|
|
|
services.gnome.gnome-online-accounts.enable = true;
|
2020-01-10 01:33:38 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|