mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 11:55:36 +00:00
change mail system
This commit is contained in:
parent
077b3c9337
commit
f8edbeaeca
@ -21,9 +21,7 @@
|
|||||||
accounts.email = {
|
accounts.email = {
|
||||||
maildirBasePath = "/home/${config.user}/mail";
|
maildirBasePath = "/home/${config.user}/mail";
|
||||||
accounts = {
|
accounts = {
|
||||||
home = let
|
home = let address = "${config.user}@${config.mailServer}";
|
||||||
address = "${config.user}@${config.mailServer}";
|
|
||||||
serverHostname = "mail.${config.mailServer}";
|
|
||||||
in {
|
in {
|
||||||
userName = address;
|
userName = address;
|
||||||
realName = config.fullName;
|
realName = config.fullName;
|
||||||
@ -46,7 +44,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
imap = {
|
imap = {
|
||||||
host = serverHostname;
|
host = "imap.purelymail.com";
|
||||||
port = 993;
|
port = 993;
|
||||||
tls.enable = true;
|
tls.enable = true;
|
||||||
};
|
};
|
||||||
@ -71,8 +69,8 @@
|
|||||||
builtins.toString ./mailpass.age
|
builtins.toString ./mailpass.age
|
||||||
}";
|
}";
|
||||||
smtp = {
|
smtp = {
|
||||||
host = serverHostname;
|
host = "smtp.purelymail.com";
|
||||||
port = 587;
|
port = 465;
|
||||||
tls.enable = true;
|
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 = [
|
imports = [
|
||||||
./fish
|
./age.nix
|
||||||
./starship.nix
|
|
||||||
./fzf.nix
|
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
|
./fish
|
||||||
|
./fzf.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./github.nix
|
./github.nix
|
||||||
|
./starship.nix
|
||||||
./utilities.nix
|
./utilities.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user