Remove email setup

This commit is contained in:
larstvei 2024-07-21 02:01:21 +02:00
parent cef8f496dd
commit bbfe2d1073

View File

@ -70,30 +70,6 @@
# Somehow related to: https://github.com/NixOS/nixpkgs/issues/1000 # Somehow related to: https://github.com/NixOS/nixpkgs/issues/1000
home.file.".aspell.conf".text = "data-dir ${pkgs.aspell}/lib/aspell"; home.file.".aspell.conf".text = "data-dir ${pkgs.aspell}/lib/aspell";
accounts.email = {
accounts.uio = {
address = "larstvei@ifi.uio.no";
userName = "larstvei@ifi.uio.no";
realName = "Lars Tveito";
imap.host = "imap.uio.no";
smtp.host = "smtp.uio.no";
mbsync = {
enable = true;
create = "maildir";
# Because of Office 365, see: https://kdecherf.com/blog/2017/05/01/mbsync-and-office-365/
extraConfig.account.Timeout = 120;
extraConfig.account.PipelineDepth = 1;
};
msmtp.enable = true;
mu.enable = true;
primary = true;
passwordCommand = "security find-internet-password -s imap.uio.no -a larstvei -w";
};
};
home.file.karabiner = { home.file.karabiner = {
target = ".config/karabiner/assets/complex_modifications/df_escape.json"; target = ".config/karabiner/assets/complex_modifications/df_escape.json";
text = builtins.toJSON { text = builtins.toJSON {
@ -172,10 +148,6 @@
nix-direnv.enable = true; nix-direnv.enable = true;
}; };
mu.enable = true;
msmtp.enable = true;
mbsync.enable = true;
# Sets JAVA_HOME environment variable # Sets JAVA_HOME environment variable
java.enable = true; java.enable = true;