mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:53:55 -05:00
aly: add gmail and work email accounts
This commit is contained in:
parent
f514d76495
commit
0f1e154c6d
|
@ -5,22 +5,52 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
genPassword = secret: "${lib.getExe' pkgs.coreutils "cat"} ${secret}";
|
mkPassword = secret: "${lib.getExe' pkgs.coreutils "cat"} ${secret}";
|
||||||
in {
|
in {
|
||||||
accounts.email.accounts = {
|
accounts.email.accounts = {
|
||||||
fastmail = {
|
"alyraffauf@fastmail.com" = {
|
||||||
address = "alyraffauf@fastmail.com";
|
address = "alyraffauf@fastmail.com";
|
||||||
aliases = ["aly@raffauflabs.com"];
|
aliases = ["aly@raffauflabs.com"];
|
||||||
flavor = "fastmail.com";
|
flavor = "fastmail.com";
|
||||||
passwordCommand = genPassword osConfig.age.secrets.alyraffaufFastmail.path;
|
passwordCommand = mkPassword osConfig.age.secrets.alyraffaufFastmail.path;
|
||||||
primary = true;
|
primary = true;
|
||||||
realName = "Aly Raffauf";
|
realName = "Aly Raffauf";
|
||||||
|
|
||||||
thunderbird = {
|
thunderbird = {
|
||||||
enable = true;
|
enable = true;
|
||||||
profiles = ["default"];
|
profiles = ["default"];
|
||||||
};
|
};
|
||||||
|
|
||||||
userName = "alyraffauf@fastmail.com";
|
userName = "alyraffauf@fastmail.com";
|
||||||
|
};
|
||||||
|
|
||||||
|
"achacega@gmail.com" = {
|
||||||
|
address = "achacega@gmail.com";
|
||||||
|
aliases = ["alyraffauf@gmail.com"];
|
||||||
|
flavor = "gmail.com";
|
||||||
himalaya.enable = true;
|
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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
file = ../../../secrets/mail/alyraffauf_fastmail.age;
|
file = ../../../secrets/mail/alyraffauf_fastmail.age;
|
||||||
owner = "aly";
|
owner = "aly";
|
||||||
};
|
};
|
||||||
|
achacegaGmail = {
|
||||||
|
file = ../../../secrets/mail/achacega_gmail.age;
|
||||||
|
owner = "aly";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.aly =
|
home-manager.users.aly =
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue