diff options
author | EuAndreh <eu@euandre.org> | 2022-03-11 14:41:10 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-03-11 14:41:10 -0300 |
commit | d83fa485d9cd6550e7d47076e68257a1e2408f54 (patch) | |
tree | 8ec04da62a5d47f18707bd473ff8b1f9b8323096 | |
parent | TODOs.md: Add #td-9fc35972-24b4-376c-d61f-bb0356e25ffb (diff) | |
download | toph-d83fa485d9cd6550e7d47076e68257a1e2408f54.tar.gz toph-d83fa485d9cd6550e7d47076e68257a1e2408f54.tar.xz |
src/machines.scm: Add infokey etc configuration file
-rw-r--r-- | src/machines.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/machines.scm b/src/machines.scm index 3121938..aa6832f 100644 --- a/src/machines.scm +++ b/src/machines.scm @@ -65,6 +65,7 @@ (define bashrc-extra (plain-file "bashrc-extra" #"""- alias l='ls -lahF --color' + alias info='info --init-file /etc/infokey' """#)) (define ps1.sh @@ -97,6 +98,12 @@ export PS1='`error_marker`'$(gray '\T')' '$(yellow '\w/')'\n'$(redl '\\u@\h')'\$ ' """#)) +(define infokey + (plain-file "infokey" #"""- + ^e down-line + ^y up-line +"""#)) + (define with-email.sh (plain-file "with-email.sh" #"""- #!/bin/sh @@ -148,7 +155,7 @@ borg init -e repokey-blake2 "$R:toph-borg" ||: borg key export "$R:toph-borg" /opt/secrets/borg-key.txt - FIXME: more users + # FIXME: more users borg create \ --exclude /root/.cache/ \ --exclude /home/andreh/.cache/ \ @@ -281,6 +288,7 @@ ("bashrc-extra" ,bashrc-extra) ("ps1.sh" ,ps1.sh) ("vi.exrc" ,vi.exrc) + ("infokey" ,infokey) ("with-email.sh" ,with-email.sh))) (service certbot-service-type (certbot-configuration |