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
2024-07-17 16:05:33 +02:00

36 lines
530 B
Nix

{ pkgs, lib, config, options, ... }:
with lib;
let
cfg = config.personal.programs.mail;
in
{
options = {
personal = {
programs = {
mail = {
enable = mkEnableOption "Mail";
};
};
};
};
config = mkIf cfg.enable {
environment = {
systemPackages = with pkgs; [
# betterbird
mailspring
];
};
# nixpkgs = {
# config = {
# permittedInsecurePackages = [
# "mailspring-1.13.3"
# ];
# };
# };
};
}