From 9f4c3b2efd02447ffb403678e880cd3340aaaa48 Mon Sep 17 00:00:00 2001 From: John Ramsden Date: Wed, 28 Jun 2017 16:13:10 -0700 Subject: Add keyring enable option and add Nylas to systemPackages --- nixos/modules/programs/nylas-mail.nix | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/programs/nylas-mail.nix b/nixos/modules/programs/nylas-mail.nix index d1427d890245..fc18a9a4760b 100644 --- a/nixos/modules/programs/nylas-mail.nix +++ b/nixos/modules/programs/nylas-mail.nix @@ -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; + }; }; } -- cgit 1.4.1