mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 02:34:52 +00:00
change mail system
This commit is contained in:
parent
077b3c9337
commit
f8edbeaeca
@ -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
5
modules/shell/age.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{ config, pkgs, ... }: {
|
||||
|
||||
home-manager.users.${config.user}.home.packages = with pkgs; [ age ];
|
||||
|
||||
}
|
@ -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
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user