mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
users/foo-dogsquared/programs/email: disable Thunderbird for declarative email accounts
It's less tedious somehow to just manually manage them.
This commit is contained in:
parent
2cef0d1dba
commit
836186ae0b
@ -5,7 +5,6 @@ let
|
|||||||
cfg = userCfg.programs.email;
|
cfg = userCfg.programs.email;
|
||||||
|
|
||||||
mkEmailAccount = { domain ? "foodogsquared.one", name }: {
|
mkEmailAccount = { domain ? "foodogsquared.one", name }: {
|
||||||
thunderbird.enable = lib.mkDefault true;
|
|
||||||
address = "${name}@${domain}";
|
address = "${name}@${domain}";
|
||||||
userName = "${name}@${domain}";
|
userName = "${name}@${domain}";
|
||||||
realName = lib.mkDefault "${name}@${domain}";
|
realName = lib.mkDefault "${name}@${domain}";
|
||||||
@ -39,7 +38,6 @@ in
|
|||||||
(mkEmailAccount { name = "foodogsquared"; })
|
(mkEmailAccount { name = "foodogsquared"; })
|
||||||
|
|
||||||
{
|
{
|
||||||
thunderbird.enable = true;
|
|
||||||
primary = true;
|
primary = true;
|
||||||
realName = "Gabriel Arazas";
|
realName = "Gabriel Arazas";
|
||||||
signature = {
|
signature = {
|
||||||
@ -62,7 +60,6 @@ in
|
|||||||
webmaster = mkEmailAccount { name = "webmaster"; };
|
webmaster = mkEmailAccount { name = "webmaster"; };
|
||||||
|
|
||||||
old_personal = {
|
old_personal = {
|
||||||
thunderbird.enable = true;
|
|
||||||
address = "foo.dogsquared@gmail.com";
|
address = "foo.dogsquared@gmail.com";
|
||||||
realName = config.accounts.email.accounts.personal.realName;
|
realName = config.accounts.email.accounts.personal.realName;
|
||||||
userName = "foo.dogsquared@gmail.com";
|
userName = "foo.dogsquared@gmail.com";
|
||||||
|
Loading…
Reference in New Issue
Block a user