feat: setup email notification on systemd failures
This commit is contained in:
parent
ed11e6c19a
commit
68d499f5cf
4 changed files with 103 additions and 0 deletions
|
@ -11,6 +11,8 @@
|
|||
./desktop
|
||||
./virtualisation/libvirt.nix
|
||||
./virtualisation/docker.nix
|
||||
./modules/emailNotify.nix
|
||||
./services/mail.nix
|
||||
./services/samba/home-pc.nix
|
||||
./services/syncthing/home-pc.nix
|
||||
./services/restic/home-pc.nix
|
||||
|
@ -43,6 +45,11 @@
|
|||
"87.98.162.88" = [ "portcheck.transmissionbt.com" ];
|
||||
};
|
||||
|
||||
systemd.emailNotify.enable = true;
|
||||
systemd.emailNotify.mailTo = "admin@felschr.com";
|
||||
systemd.emailNotify.mailFrom =
|
||||
"${config.networking.hostName} <felschr@web.de>";
|
||||
|
||||
services.printing.drivers = with pkgs; [ epson-escpr ];
|
||||
|
||||
# only change this when specified in release notes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue