aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/machines.scm10
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