~ruther/nixos-config

ref: 5b1602c8f5563556f28c67d066d1aee7b46e55e7 nixos-config/modules/programs/email.nix -rw-r--r-- 678 bytes
5b1602c8 — Frantisek Bohacek chore: update 1 year, 3 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ config, lib, pkgs, location, ... }:

{
  programs.thunderbird = {
    enable = true;
    profiles = {
      default = {
        isDefault = true;
      };
    };
  };

  accounts.email = {
    accounts = {
      ctu = {
        primary = true;
        thunderbird = {
          enable = true;
        };
        address = "bohacfr2@fel.cvut.cz";
        userName = "bohacfr2";
        realName = "František Boháček";
        imap = {
          host = "imap.fel.cvut.cz";
          port = 993;
        };
        smtp = {
          host = "smtpx.fel.cvut.cz";
          port = 465;
          tls = {
            enable = true;
          };
        };
      };
    };
  };
}
Do not follow this link