mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
468cb5980b
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
24 lines
466 B
Nix
24 lines
466 B
Nix
{ 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;
|
|
};
|
|
}
|
|
|