Add keyring enable option and add Nylas to systemPackages

This commit is contained in:
John Ramsden 2017-06-28 16:13:10 -07:00
parent 3fddb48020
commit 9f4c3b2efd
No known key found for this signature in database
GPG Key ID: 2E989DFAD8B09FD0

View File

@ -19,16 +19,6 @@ in {
default = true;
description = "Enable gnome3 keyring for nylas-mail.";
};
package = mkOption {
type = types.package;
default = pkgs.nylas-mail;
defaultText = "pkgs.nylas-mail";
example = literalExample "pkgs.nylas-mail";
description = ''
nylas-mail package to use.
'';
};
};
};
@ -37,7 +27,11 @@ in {
config = mkIf cfg.enable {
environment.systemPackages = [pkgs.nylas-mail];
services.gnome3.gnome-keyring = mkIf cfg.gnome3-keyring {
enable = true;
};
};
}