mirror of
https://github.com/tboerger/nixos-config
synced 2024-11-22 18:21:58 +01:00
36 lines
530 B
Nix
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"
|
|
# ];
|
|
# };
|
|
# };
|
|
};
|
|
}
|