litestream backups for nextcloud

This commit is contained in:
Noah Masur
2022-10-08 15:52:05 +00:00
parent e89db82e7f
commit 8dba2ef88b
3 changed files with 98 additions and 12 deletions

View File

@ -26,6 +26,13 @@ nixpkgs.lib.nixosSystem {
publicKey =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s";
# Backup config
backupS3 = {
endpoint = "s3.us-west-002.backblazeb2.com";
bucket = "noahmasur-backup";
accessKeyId = "0026b0e73b2e2c80000000004";
};
# Grant access to Jellyfin directories from nextcloud
users.users.nextcloud.extraGroups = [ "jellyfin" ];
}