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