aboutsummaryrefslogtreecommitdiff
path: root/src/infrastructure
diff options
context:
space:
mode:
Diffstat (limited to 'src/infrastructure')
-rw-r--r--src/infrastructure/machines.scm25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/infrastructure/machines.scm b/src/infrastructure/machines.scm
index a45bec4..f51e74a 100644
--- a/src/infrastructure/machines.scm
+++ b/src/infrastructure/machines.scm
@@ -11,31 +11,6 @@
(gnu services ssh)
(gnu services web))
-;;
-;; Implicit dependencies, to be automated:
-;; - /srv and /opt directories:
-;; # mkdir -p /srv/http /opt/secrets
-;; # chown -R andreh:users /opt /srv
-;; # chmod -R 755 /opt /srv
-;; - create /opt/secrets/borg-passphrase.txt
-;; $ pass generate VPS/$SERVER/borg/passphrase.txt 999
-;; $ pass show VPS/$SERVER/borg/passphrase | ssh $SERVER 'cat - > /opt/secrets/borg-passphrase.txt'
-;; - create the SSH key
-;; $ ssh-keygen
-;; - *manually* add that to the authorized_keys on rsync.net:
-;; $ scp suyin:.ssh/authorized_keys src/rsync.net/
-;; $ # add 'restrict,command="..."' to the authorized_keys entry
-;; $ ssh $SERVER cat .ssh/id_rsa.pub >> authorized_keys
-;; $ scp src/rsync.net/authorized_keys suyin:.ssh/
-;; - copy borg key after the first backup:
-;; $ ?
-;; - generate DKIM key
-;; $ guix shell openssl -- openssl genrsa -out /opt/secrets/dkim.arrobaponto.org.key 1024
-;; $ guix shell openssl -- openssl rsa -in /opt/secrets/dkim.arrobaponto.org.key -pubout -out /opt/secrets/dkim.arrobaponto.org.pub
-;; - manually load /etc/profile-extra, /etc/bashrc-extra and /etc/ps1.sh
-;; to ~/.bashrc and ~root/.bashrc
-;;
-
(define ssh.conf #"""-
ClientAliveInterval 30