nixos/home/accounts/default.nix

21 lines
562 B
Nix
Raw Normal View History

{ 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; };
}