forked from mirrors_public/oddlama_nix-config
fix: make paperless and vaultwarden temporary backup dirs persistent to avoid running out of tmpfs space on backups
This commit is contained in:
parent
38a89b05a3
commit
d77fcaa826
4 changed files with 21 additions and 3 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue