about summary refs log tree commit diff
path: root/nixpkgs/nixos/modules/programs/geary.nix
blob: 407680c30dc3d964f5deb5021585caf39afb02f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ config, pkgs, lib, ... }:

with lib;

let
  cfg = config.programs.geary;

in {
  meta = {
    maintainers = teams.gnome.members;
  };

  options = {
    programs.geary.enable = mkEnableOption "Geary, a Mail client for GNOME 3";
  };

  config = mkIf cfg.enable {
    environment.systemPackages = [ pkgs.gnome.geary ];
    programs.dconf.enable = true;
    services.gnome.gnome-keyring.enable = true;
    services.gnome.gnome-online-accounts.enable = true;
  };
}