bw email hypl

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-04-17 19:49:43 +02:00
parent b93a75fa97
commit 91fccbf390
7 changed files with 114 additions and 70 deletions

View File

@@ -0,0 +1,32 @@
{ config, pkgs, secrets, ... }:
{
home.packages = with pkgs; [
bitwarden
bitwarden-cli
];
home.file.".config/Bitwarden CLI/data.json".text = ''
{
"stateVersion": 9,
"global": {
"theme": "system",
"window": {},
"environmentUrls": {
"base": "https://pw.nx2.site",
"api": null,
"identity": null,
"webVault": null,
"icons": null,
"notifications": null,
"events": null,
"keyConnector": null
},
"region": "Self-hosted",
"installedVersion": "2023.12.0"
}
}
'';
home.sessionVariables.BW_SESSION = secrets.bitwarden.env.bw-session;
}

View File

@@ -4,7 +4,22 @@
thunderbird
];
programs.thunderbird = {
enable = true;
profiles = {
default = {
isDefault = true;
settings = {
"calendar.alarms.showmissed" = false;
"calendar.alarms.playsound" = false;
"calendar.alarms.show" = false;
};
};
};
};
accounts.email.accounts = {
"gamil-online" = {
address = secrets.email.gmail-online.mail;
@@ -45,33 +60,33 @@
};
};
"hsmw" = {
address = secrets.email.hsmw.mail;
realName = "Lennart J. Kurzweg";
imap = {
port = 993;
host = "mail.hs-mittweida.de";
};
smtp = {
port = 465;
host = "mail.hs-mittweida.de";
};
signature = {
text = ''
--
MatNr: ${secrets.email.hsmw.mnr}
SemGr: ${secrets.email.hsmw.semgr}
About Me: https://nx2.site/about-me
Contact: https://nx2.site/contact
GPG: https://nx2.site/gpg
'';
showSignature = "append";
};
thunderbird = {
enable = true;
profiles = [ "default" ];
};
};
# "hsmw" = {
# address = secrets.email.hsmw.mail;
# realName = "Lennart J. Kurzweg";
# imap = {
# port = 993;
# host = "mail.hs-mittweida.de";
# };
# smtp = {
# port = 465;
# host = "mail.hs-mittweida.de";
# };
# signature = {
# text = ''
# --
# MatNr: ${secrets.email.hsmw.mnr}
# SemGr: ${secrets.email.hsmw.semgr}
# About Me: https://nx2.site/about-me
# Contact: https://nx2.site/contact
# GPG: https://nx2.site/gpg
# '';
# showSignature = "append";
# };
# thunderbird = {
# enable = true;
# profiles = [ "default" ];
# };
# };
};
}

View File

@@ -36,6 +36,5 @@
whitespace-error-style = "22 reverse";
};
};
iniContent."sendemail.hsmw".smtpUser = secrets.email.hsmw.mail;
};
}

View File

@@ -239,7 +239,6 @@ in
workspace_swipe_direction_lock = false;
workspace_swipe_direction_lock_threshold = "10";
workspace_swipe_forever = true;
workspace_swipe_numbered = false;
workspace_swipe_use_r = false;
};