aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-11-25 18:12:57 -0300
committerEuAndreh <eu@euandre.org>2022-11-25 18:12:57 -0300
commit79529d2ff8302646bdaf30aeb5ebc1eed02c0efc (patch)
tree6a0c2da5fe792074a3f37193452971a294f6b88b
parentsrc/infrastructure/guix/system.scm: Move suyin and SSH configuration to root ... (diff)
downloadtoph-79529d2ff8302646bdaf30aeb5ebc1eed02c0efc.tar.gz
toph-79529d2ff8302646bdaf30aeb5ebc1eed02c0efc.tar.xz
src/infrastructure/guix/system.scm: Simplify and make with-email work
-rw-r--r--src/infrastructure/guix/system.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/infrastructure/guix/system.scm b/src/infrastructure/guix/system.scm
index 516e027..c421bd1 100644
--- a/src/infrastructure/guix/system.scm
+++ b/src/infrastructure/guix/system.scm
@@ -507,9 +507,8 @@
HOSTNAME="$(hostname)"
mail \
-a 'Content-Type: text/plain; charset=UTF-8' \
- -a "From:cron@$HOSTNAME" \
-s "(exit status: $STATUS) - $SUBJECT" \
- "dev@$HOSTNAME" < "$OUT" || cat "$OUT"
+ root < "$OUT" || cat "$OUT"
"#)
@@ -1697,6 +1696,7 @@
entr
git-minimal
guile-heredoc-latest
+ mailutils-sendmail
ranger
rlwrap
rsync