Not working email setup

This commit is contained in:
larstvei 2025-09-24 18:19:10 +02:00
parent 8b065ced4e
commit b7c7821e70
2 changed files with 33 additions and 0 deletions

View File

@ -2,6 +2,7 @@
imports = [
./academic
./editor
./email
./git
./learning
./multimedia

View File

@ -0,0 +1,32 @@
{ pkgs, ... }:
{
home.packages = [ pkgs.oama ];
programs = {
mu.enable = true;
msmtp.enable = true;
mbsync.enable = true;
};
accounts.email = {
accounts.uio = {
primary = true;
address = "larstvei@ifi.uio.no";
userName = "larstvei@ifi.uio.no";
realName = "Lars Tveito";
imap.host = "outlook.office365.com";
smtp.host = "smtp.office365.com";
mbsync = {
enable = true;
create = "maildir";
};
passwordCommand = "oama access larstvei@ifi.uio.no";
msmtp.enable = true;
mu.enable = true;
};
};
}