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