mirror of
https://github.com/larstvei/nix-config.git
synced 2026-02-06 10:30:12 +00:00
Not working email setup
This commit is contained in:
parent
8b065ced4e
commit
b7c7821e70
@ -2,6 +2,7 @@
|
||||
imports = [
|
||||
./academic
|
||||
./editor
|
||||
./email
|
||||
./git
|
||||
./learning
|
||||
./multimedia
|
||||
|
||||
32
modules/tools/email/default.nix
Normal file
32
modules/tools/email/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user