nixos/geary: init

This commit is contained in:
Milan Pässler
2020-01-10 01:33:38 +01:00
parent 80223b04c8
commit fb9645656b
3 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.programs.geary;
in {
options = {
programs.geary.enable = mkEnableOption "Geary, a Mail client for GNOME 3";
};
config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.gnome3.geary ];
programs.dconf.enable = true;
services.gnome3.gnome-keyring.enable = true;
services.gnome3.gnome-online-accounts.enable = true;
};
}