summaryrefslogtreecommitdiff
path: root/home/default.nix
blob: db5b703fbb3b1a348b11757abe4cedeb7b8af1ac (plain)
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
38
39
40
41
42
{ config, lib, pkgs, osConfig, ... }:

{
  personal = {
    profiles = {
      dev = true;
      social = true;
      syncing = true;
    };
    identities = {
      work = true;
    };
  };

  accounts.email.accounts = {
    work.primary = true;
    university = {
      address = "quentin.aristote@etu.u-paris.fr";
      userName = "quentin.aristote@etu.u-paris.fr";
      realName = "Quentin Aristote";
      imap = {
        host = "outlook.office365.com";
        port = 993;
      };
      smtp = {
        host = "smtp.office365.com";
        port = 587;
        tls.useStartTls = true;
      };
      thunderbird = {
        enable = true;
        profiles = [ "default" ];
      };
    };
  };

  home.file.".spacemacs.d/init.el".source = ./spacemacs.el;

  fonts.fontconfig.enable = true;

  home.packages = lib.optional osConfig.programs.starship.enable pkgs.nerdfonts;
}