thrall: Prepare off-site backup

This commit is contained in:
Alexander Kobjolke 2021-12-07 20:18:18 +01:00
parent 8224f8c283
commit c47e0ae218
4 changed files with 17 additions and 15 deletions

View file

@ -130,6 +130,9 @@
git
#agenix.defaultPackage.x86_64-linux
restic # fast and secure backup
rclone
];
# Some programs need SUID wrappers, can be configured further or are
@ -159,6 +162,10 @@
interface=wg0
'';
};
# configure backup via restic to gdrive
services.restic.backups = { };
services.nginx.enable = true;
services.nginx = {
recommendedTlsSettings = true;