fix: make paperless and vaultwarden temporary backup dirs persistent to avoid running out of tmpfs space on backups

This commit is contained in:
oddlama 2024-01-20 20:14:49 +01:00
parent 38a89b05a3
commit d77fcaa826
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
4 changed files with 21 additions and 3 deletions

View file

@ -84,6 +84,15 @@ in {
RestartSec = "600"; # Retry every 10 minutes
};
environment.persistence."/state".directories = [
{
directory = config.services.vaultwarden.backupDir;
user = "vaultwarden";
group = "vaultwarden";
mode = "0700";
}
];
backups.storageBoxes.dusk = {
subuser = "vaultwarden";
paths = [config.services.vaultwarden.backupDir];