Add keyring enable option and add Nylas to systemPackages
This commit is contained in:
parent
3fddb48020
commit
9f4c3b2efd
@ -19,16 +19,6 @@ in {
|
|||||||
default = true;
|
default = true;
|
||||||
description = "Enable gnome3 keyring for nylas-mail.";
|
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 {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
|
environment.systemPackages = [pkgs.nylas-mail];
|
||||||
|
|
||||||
|
services.gnome3.gnome-keyring = mkIf cfg.gnome3-keyring {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user