mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
outline: Fix persistence
This commit is contained in:
parent
03a62ea382
commit
108a308c25
1 changed files with 4 additions and 1 deletions
|
|
@ -79,6 +79,9 @@ in
|
||||||
restoreCommand.postRestore = "sudo --user=${user} pg_restore --clean --if-exists --dbname outline ${dataDir}/db.dump";
|
restoreCommand.postRestore = "sudo --user=${user} pg_restore --clean --if-exists --dbname outline ${dataDir}/db.dump";
|
||||||
};
|
};
|
||||||
|
|
||||||
custom.persist.directories = [ dataDir ];
|
custom.persist.directories = [
|
||||||
|
dataDir
|
||||||
|
config.services.postgresql.dataDir
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue