From 5a4d49e0599456b0c8cd1ddb8b30d00b92f8d1c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Fri, 6 Oct 2023 10:57:35 +0200 Subject: [PATCH] feat(aerc): add pronouns --- configs/fu-berlin.nix | 15 ++++++++++++++- configs/hu-berlin.nix | 3 ++- lib/email.nix | 12 ++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/configs/fu-berlin.nix b/configs/fu-berlin.nix index dca31ce..60618ff 100644 --- a/configs/fu-berlin.nix +++ b/configs/fu-berlin.nix @@ -5,7 +5,7 @@ ... }: let username = "meinhak99"; - inherit (import ../lib/email.nix) defaults; + inherit (import ../lib/email.nix) defaults pronouns; fu-defaults = rec { imap.host = "mail.zedat.fu-berlin.de"; smtp.host = imap.host; @@ -33,6 +33,19 @@ in { address = "kieran.meinhardt@fu-berlin.de"; aliases = ["${userName}@fu-berlin.de"]; passwordCommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets.email-password-meinhak99.path}"; + signature = { + showSignature = "append"; + text = '' + ${defaults.realName} + ${pronouns} + + Studentische Hilfskraft / ZODIAC + Freie Universität Berlin + + Telefon: +49 30 838 58118 + Arnimallee 10, Raum K011, 14195 Berlin + ''; + }; }); }; }; diff --git a/configs/hu-berlin.nix b/configs/hu-berlin.nix index efce791..38c83c6 100644 --- a/configs/hu-berlin.nix +++ b/configs/hu-berlin.nix @@ -4,7 +4,7 @@ lib, ... }: let - inherit (import ../lib/email.nix) defaults; + inherit (import ../lib/email.nix) defaults pronouns; hu-defaults = { imap.host = "mailbox.cms.hu-berlin.de"; imap.port = 993; @@ -107,6 +107,7 @@ in { showSignature = "append"; text = '' ${defaults.realName} + ${pronouns} Studentische Hilfskraft / Administrator ALEW Humboldt-Universität zu Berlin diff --git a/lib/email.nix b/lib/email.nix index 33478e3..1178896 100644 --- a/lib/email.nix +++ b/lib/email.nix @@ -1,5 +1,17 @@ rec { thunderbirdProfile = "donnervogel"; + pronouns = builtins.concatStringsSep " · " [ + "er" + "he" + "is" + "οὗτος" + "هو" + "ⲛ̄ⲧⲟϥ" + "он" + "han" + "सः" + "huwwe" + ]; defaults = { thunderbird = { enable = true;