nixos/home/accounts/default.nix
Evie Litherland-Smith a615762940 Combine mail setup with calendar and contacts
Move mail into accounts expression set
Add vdirsyncer and initial config to sync to CalDAV and CardDAV

TODO add to emacs
2023-09-02 08:41:07 +01:00

21 lines
562 B
Nix

{ lib, pkgs, hostName, ... }:
{
# accounts.emails.accounts = {}; # TODO
home.packages = with pkgs; [ protonmail-bridge davmail vdirsyncer ];
programs = {
mu.enable = true;
mbsync = {
enable = true;
extraConfig = import ./config/mbsync.nix { inherit pkgs hostName; };
};
msmtp = {
enable = true;
extraConfig = import ./config/msmtp.nix { inherit pkgs hostName; };
};
# vdirsyncer = { enable = true; };
};
xdg.configFile."vdirsyncer/config".text =
import ./config/vdirsyncer.nix { inherit pkgs; };
}