summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-07-30 18:51:32 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2017-07-30 18:51:32 +0200
commit72b4151390f8f60e4ed4b89a5d246565c49ccb9b (patch)
tree8d7216269fa72a033557a09c9701e856b573ceff /ymir.nix
parent7af53db79f7f7427463a360b0473cbdfe468d93b (diff)
downloadnixos-72b4151390f8f60e4ed4b89a5d246565c49ccb9b.tar
nixos-72b4151390f8f60e4ed4b89a5d246565c49ccb9b.tar.gz
nixos-72b4151390f8f60e4ed4b89a5d246565c49ccb9b.tar.bz2
nixos-72b4151390f8f60e4ed4b89a5d246565c49ccb9b.tar.xz
nixos-72b4151390f8f60e4ed4b89a5d246565c49ccb9b.zip
Formatting
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/ymir.nix b/ymir.nix
index ce5f42d1..fd373220 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -904,7 +904,7 @@ in rec {
904 serviceConfig = { 904 serviceConfig = {
905 Type = "oneshot"; 905 Type = "oneshot";
906 }; 906 };
907 scriptArgs = "%I %H %m %b"; 907 scriptArgs = "%I \"Hostname: %H\" \"Machine-ID: %m\" \"Boot-ID: %b\"";
908 script = '' 908 script = ''
909 #!${pkgs.stdenv.shell} 909 #!${pkgs.stdenv.shell}
910 MAILTO="root" 910 MAILTO="root"
@@ -921,7 +921,7 @@ in rec {
921 ${config.security.wrapperDir}/sendmail $MAILTO <<EOF 921 ${config.security.wrapperDir}/sendmail $MAILTO <<EOF
922 From:$MAILFROM 922 From:$MAILFROM
923 To:$MAILTO 923 To:$MAILTO
924 Subject:Status mail for unit: $UNIT 924 Subject:Status of $UNIT
925 925
926 Status report for unit: $UNIT 926 Status report for unit: $UNIT
927 $EXTRA 927 $EXTRA