diff options
author | EuAndreh <eu@euandre.org> | 2020-09-22 19:13:19 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-09-22 19:13:19 -0300 |
commit | fda715a019dea84ccf91b656ab906fb78fe8379b (patch) | |
tree | ad9b2af0ca55c860b2cfa16a0f7af33704b45e51 | |
parent | Reorder nixos-update.sh (diff) | |
download | toph-fda715a019dea84ccf91b656ab906fb78fe8379b.tar.gz toph-fda715a019dea84ccf91b656ab906fb78fe8379b.tar.xz |
TODOs.org
-rw-r--r-- | TODOs.org | 39 | ||||
-rw-r--r-- | scripts/cronjobs/borg.sh | 3 |
2 files changed, 23 insertions, 19 deletions
@@ -1,5 +1,6 @@ * Tasks - v4 -** TODO "Migration": use =euandreh_nextcloud_= prefix to database table +** DONE "Migration": use =euandreh_nextcloud_= prefix to database table +CLOSED: [2020-09-22 mar. 18:55] ** DONE cgit: show README in about section CLOSED: [2020-09-06 dim. 08:59] - State "DONE" from [2020-09-06 dim. 08:59] @@ -13,11 +14,14 @@ instead later. https://github.com/42wim/matterbridge/issues/1061 ** DONE Add Prosody DNS record to allow me to use eu@euandreh.xyz as an XMPP address CLOSED: [2020-08-23 dim. 18:40] -** TODO Configure MUC on Prosody -** TODO Fix conversejs login -** TODO Terraform restore from backup when provisioning -** TODO cron: borg, PostgreSQL backup and NixOS update and collect gargabe -** TODO snapshot with swap: nixos-rebuild switch takes too much memory +** CANCELLED Configure MUC on Prosody +CLOSED: [2020-09-22 mar. 18:56] +No XMPP, for now, I'm stick with Matrix and their puppeting bridges. +** CANCELLED Fix conversejs login +CLOSED: [2020-09-22 mar. 18:56] +** DOING Terraform restore from backup when provisioning +** DOING cron: borg, PostgreSQL backup and NixOS update and collect gargabe +** DOING snapshot with swap: nixos-rebuild switch takes too much memory Adding swap memory maybe be a lot slower, but allows me to stay inside the 512MB memory server plan ** TODO Configure PostgreSQL permissions correctly Or even better: switch to SQLite. @@ -31,7 +35,7 @@ CLOSED: [2020-09-06 dim. 11:35] - State "DONE" from [2020-09-06 dim. 11:35] *** TODO Properly configure PostgreSQL *** TODO Separate lighttpd user ownership from =$GIT_ROOT=? -** TODO Add volume +** DOING Add volume And put in to fstab Can I use Terraform to automate the mounting? #+BEGIN_SRC hcl @@ -48,16 +52,21 @@ resource "vultr_block_storage" "vps_storage" { live = "yes" } #+END_SRC -** TODO Prosody HTTP uploads -** TODO Use nixos-unstable +** CANCELLED Prosody HTTP uploads +CLOSED: [2020-09-22 mar. 18:57] +** DONE Use nixos-unstable +CLOSED: [2020-09-22 mar. 19:00] ** TODO Telegram in Matrix +** TODO WhatsApp in Matrix ** TODO Matrix federation ** TODO Use euandreh.xyz instead of matrix.euandreh.xyz for Matrix identifiers * Tasks - v5 -** TODO Stop doing chmod to share certificates +** DONE Stop doing chmod to share certificates +CLOSED: [2020-09-22 mar. 19:04] ** TODO Run cgit from nginx instead of using lighttpd ** TODO EteSync -** TODO Use =$SOMETHING_DOMAIN= instead of =$SOMETHING_TLD= +** DONE Use =$SOMETHING_DOMAIN= instead of =$SOMETHING_TLD= +CLOSED: [2020-09-22 mar. 19:04] ** TODO Create less certificates ** TODO Bundle favicons instead of separate rsync * Services - v2 @@ -142,11 +151,3 @@ magnitute harder for the attacker. ** Enable 2FA for Nextcloud? Do XMPP support that too? * Scrath -initialScript = pkgs.writeText "synapse-init.sql" '' - CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD '${synapseDBPassword}'; - - CREATE DATABASE "matrix-synapse" WITH OWNER "matrix-synapse" - TEMPLATE template0 - LC_COLLATE = "C" - LC_CTYPE = "C"; -''; diff --git a/scripts/cronjobs/borg.sh b/scripts/cronjobs/borg.sh index b64b84e..665da5f 100644 --- a/scripts/cronjobs/borg.sh +++ b/scripts/cronjobs/borg.sh @@ -7,6 +7,9 @@ BORG_PASSPHRASE="$(cat /data/secrets/borg-passphrase.txt)" export BORG_PASSPHRASE R='16686@ch-s010.rsync.net' +FIXME +postgresql backup? +nextcloud backup? borg init borg create \ --verbose \ |