ADD : configuration ssmtp for alerting

This commit is contained in:
Alexandre LUCAZEAU 2023-01-11 19:53:16 +01:00
parent a8d570e566
commit 81fd413a21
4 changed files with 16 additions and 1 deletions

View File

@ -12,6 +12,7 @@
./services.nix
./scanner.nix
../modules/common.nix
../modules/smtp.nix
./dev.nix
];
@ -146,7 +147,6 @@ lp" ];
home-manager
neovim
git
tmux
ncdu
rclone
borgbackup

View File

@ -11,6 +11,7 @@
./i3status.nix
./neovim.nix
./himalaya.nix
../../../modules/tmux.nix
];
home.stateVersion = "21.11";
home.username = "alexandre";

13
modules/smtp.nix Normal file
View File

@ -0,0 +1,13 @@
{
programs.msmtp = {
enable = true;
accounts.default = {
auth = true;
tls = true;
host = "ssl0.ovh.net";
from = "supervision@pizzajoff.re";
user = "supervision@pizzajoff.re";
passwordeval = "cat /tmp/fic";
};
};
}

View File

@ -14,6 +14,7 @@
plugins = with pkgs; [
tmuxPlugins.better-mouse-mode
tmuxPlugins.sidebar
tmuxPlugins.nord
# tmuxPlugins.tmux-power
];