# Taken from https://github.com/pSub/configs/blob/master/nixops/configurations/server.pascal-wittmann.de/modules/systemd-email-notify.nix { config, lib, pkgs, ... }: with lib; let sendmail = pkgs.writeScript "sendmail" '' #!/bin/sh ${pkgs.msmtp}/bin/msmtp -t <