1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-23 03:32:08 +01:00
github.com-tboerger-nixos-c.../shared/programs/mail.nix

35 lines
509 B
Nix
Raw Normal View History

2022-10-25 09:53:40 +02:00
{ pkgs, lib, config, options, ... }:
with lib;
let
cfg = config.personal.programs.mail;
2022-10-25 09:53:40 +02:00
in
{
options = {
personal = {
2022-10-25 09:53:40 +02:00
programs = {
mail = {
enable = mkEnableOption "Mail";
2022-10-25 09:53:40 +02:00
};
};
};
};
config = mkIf cfg.enable {
environment = {
systemPackages = with pkgs; [
2022-11-23 14:34:46 +01:00
mailspring
2022-10-25 09:53:40 +02:00
];
};
# nixpkgs = {
# config = {
# permittedInsecurePackages = [
# "mailspring-1.13.3"
# ];
# };
# };
2022-10-25 09:53:40 +02:00
};
}