Fix msmtp config
This commit is contained in:
parent
7ef2d83828
commit
8382ede3c1
|
@ -5,7 +5,7 @@ let
|
|||
nix-secrets = builtins.fetchGit {
|
||||
url = "/home/aires/Development/nix-configuration/nix-secrets";
|
||||
ref = "main";
|
||||
rev = "75076eba4de5d8539cc1a2a85bf3924c9ae4b7b9";
|
||||
rev = "7e6dd41b5a89a1ff2ead22bf69e5b82b585c0fa2";
|
||||
};
|
||||
in{
|
||||
imports = [
|
||||
|
|
|
@ -13,13 +13,7 @@ with lib;
|
|||
config = mkIf cfg.enable {
|
||||
programs.msmtp = {
|
||||
enable = true;
|
||||
accounts.default = {
|
||||
auth = true;
|
||||
tls = true;
|
||||
from = "root@${config.networking.hostName}";
|
||||
user = "root";
|
||||
# SMTP host and password set in nix-secrets
|
||||
};
|
||||
# Authentication details set in nix-secrets
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1 +1 @@
|
|||
Subproject commit 75076eba4de5d8539cc1a2a85bf3924c9ae4b7b9
|
||||
Subproject commit 7e6dd41b5a89a1ff2ead22bf69e5b82b585c0fa2
|
Loading…
Reference in a new issue