change mail system

This commit is contained in:
Noah Masur 2022-05-17 23:34:09 -04:00
parent 077b3c9337
commit f8edbeaeca
3 changed files with 13 additions and 9 deletions

View File

@ -21,9 +21,7 @@
accounts.email = {
maildirBasePath = "/home/${config.user}/mail";
accounts = {
home = let
address = "${config.user}@${config.mailServer}";
serverHostname = "mail.${config.mailServer}";
home = let address = "${config.user}@${config.mailServer}";
in {
userName = address;
realName = config.fullName;
@ -46,7 +44,7 @@
};
};
imap = {
host = serverHostname;
host = "imap.purelymail.com";
port = 993;
tls.enable = true;
};
@ -71,8 +69,8 @@
builtins.toString ./mailpass.age
}";
smtp = {
host = serverHostname;
port = 587;
host = "smtp.purelymail.com";
port = 465;
tls.enable = true;
};
};

5
modules/shell/age.nix Normal file
View File

@ -0,0 +1,5 @@
{ config, pkgs, ... }: {
home-manager.users.${config.user}.home.packages = with pkgs; [ age ];
}

View File

@ -1,11 +1,12 @@
{ ... }: {
imports = [
./fish
./starship.nix
./fzf.nix
./age.nix
./direnv.nix
./fish
./fzf.nix
./git.nix
./github.nix
./starship.nix
./utilities.nix
];
}