hmm
This commit is contained in:
37
modules/home/accounts/default.nix
Normal file
37
modules/home/accounts/default.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
accounts = {
|
||||
email.accounts = {
|
||||
gmail = {
|
||||
primary = true;
|
||||
realName = "Matt Jallen";
|
||||
address = "matt.l.jallen@gmail.com";
|
||||
userName = "matt.l.jallen@gmail.com";
|
||||
passwordCommand = "${pkgs.uutils-coreutils-noprefix}/bin/cat ${config.sops.secrets."gmail-smtp-password".path}";
|
||||
flavor = "gmail.com";
|
||||
smtp = {
|
||||
tls = {
|
||||
enable = false;
|
||||
useStartTls = true;
|
||||
};
|
||||
host = "smtp.gmail.com";
|
||||
port = lib.mkForce 465;
|
||||
};
|
||||
};
|
||||
protonmail = {
|
||||
realName = "Matt Jallen";
|
||||
address = "jalle008@protonmail.com";
|
||||
userName = "jalle008@protonmail.com";
|
||||
passwordCommand = "${pkgs.uutils-coreutils-noprefix}/bin/cat ${config.sops.secrets."protonmail-password".path}";
|
||||
smtp = {
|
||||
tls = {
|
||||
enable = false;
|
||||
useStartTls = true;
|
||||
};
|
||||
host = "127.0.0.1";
|
||||
port = lib.mkForce 1025;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user