nix-configs/modules/desktop/mail.nix

19 lines
396 B
Nix
Raw Normal View History

2023-02-26 20:50:52 +00:00
{ config, lib, pkgs, ... }:
let cfg = config.jade.desktop.mail;
in with lib; {
options.jade.desktop.mail = {
enable = mkEnableOption "Enable thunderbird mail stuff";
};
config = mkIf cfg.enable {
home-manager.users.jade = { pkgs, ... }: {
programs.thunderbird = {
enable = true;
profiles.jade = {
isDefault = true;
};
};
};
};
}