nixpkgs/nixos/modules/programs/geary.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
466 B
Nix
Raw Normal View History

2020-01-10 01:33:38 +01:00
{
config,
pkgs,
lib,
...
}:
let
cfg = config.programs.geary;
in
{
meta = {
maintainers = lib.teams.gnome.members;
};
2020-01-10 01:33:38 +01:00
options = {
programs.geary.enable = lib.mkEnableOption "Geary, a Mail client for GNOME";
2020-01-10 01:33:38 +01:00
};
config = lib.mkIf cfg.enable {
environment.systemPackages = [ pkgs.geary ];
2020-01-10 01:33:38 +01:00
programs.dconf.enable = true;
services.gnome.gnome-keyring.enable = true;
services.gnome.gnome-online-accounts.enable = true;
2020-01-10 01:33:38 +01:00
};
}