1
0
mirror of https://github.com/kmein/niveum synced 2026-03-22 12:51:08 +01:00

feat: move email/ssh to fysi/hu-berlin/fu-berlin

This commit is contained in:
2023-08-06 21:18:42 +02:00
parent 3538692b60
commit 48438f758e
7 changed files with 210 additions and 194 deletions

View File

@@ -1,9 +1,18 @@
{
config,
pkgs,
lib,
...
}: let
username = "meinhak99";
inherit (import ../lib/email.nix) defaults;
fu-defaults = rec {
imap.host = "mail.zedat.fu-berlin.de";
smtp.host = imap.host;
folders.drafts = "Entwürfe";
folders.sent = "Gesendet";
folders.trash = "Papierkorb";
};
in {
home-manager.users.me = {
programs.ssh = {
@@ -15,6 +24,17 @@ in {
};
};
};
accounts.email.accounts = {
fu-student =
lib.recursiveUpdate defaults
(lib.recursiveUpdate fu-defaults
rec {
userName = "meinhak99";
address = "kieran.meinhardt@fu-berlin.de";
aliases = ["${userName}@fu-berlin.de"];
passwordCommand = "${pkgs.coreutils}/bin/cat ${config.age.secrets.email-password-meinhak99.path}";
});
};
};
systemd.user.services.fu-blackboard-calendar = {