1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-22 18:21:58 +01:00
github.com-tboerger-nixos-c.../shared/programs/mail.nix

36 lines
530 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; [
2024-07-17 16:05:33 +02:00
# betterbird
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
};
}