aly: add gmail and work email accounts

This commit is contained in:
Aly Raffauf 2024-06-30 01:12:48 -04:00
parent f514d76495
commit 0f1e154c6d
3 changed files with 37 additions and 3 deletions

View file

@ -5,22 +5,52 @@
pkgs,
...
}: let
genPassword = secret: "${lib.getExe' pkgs.coreutils "cat"} ${secret}";
mkPassword = secret: "${lib.getExe' pkgs.coreutils "cat"} ${secret}";
in {
accounts.email.accounts = {
fastmail = {
"alyraffauf@fastmail.com" = {
address = "alyraffauf@fastmail.com";
aliases = ["aly@raffauflabs.com"];
flavor = "fastmail.com";
passwordCommand = genPassword osConfig.age.secrets.alyraffaufFastmail.path;
passwordCommand = mkPassword osConfig.age.secrets.alyraffaufFastmail.path;
primary = true;
realName = "Aly Raffauf";
thunderbird = {
enable = true;
profiles = ["default"];
};
userName = "alyraffauf@fastmail.com";
};
"achacega@gmail.com" = {
address = "achacega@gmail.com";
aliases = ["alyraffauf@gmail.com"];
flavor = "gmail.com";
himalaya.enable = true;
passwordCommand = mkPassword osConfig.age.secrets.achacegaGmail.path;
realName = "Aly Raffauf";
thunderbird = {
enable = true;
profiles = ["default"];
};
userName = "achacega@gmail.com";
};
"aly.chace@joingsg.com" = {
address = "aly.chace@joingsg.com";
flavor = "gmail.com";
realName = "Aly Raffauf";
thunderbird = {
enable = true;
profiles = ["work"];
};
userName = "aly.chace@joingsg.com";
};
};

View file

@ -10,6 +10,10 @@
file = ../../../secrets/mail/alyraffauf_fastmail.age;
owner = "aly";
};
achacegaGmail = {
file = ../../../secrets/mail/achacega_gmail.age;
owner = "aly";
};
};
home-manager.users.aly =

Binary file not shown.