fixup postgres and hedgedoc
This commit is contained in:
parent
6a23fdc3f2
commit
af01cffa4d
10 changed files with 52 additions and 43 deletions
|
|
@ -58,6 +58,11 @@ in
|
|||
ensureDatabases = map (e: e.database) entries;
|
||||
authentication = "${builtins.concatStringsSep "\n" (map (e: e.auth) entries)}";
|
||||
};
|
||||
postgresqlBackup = {
|
||||
enable = true;
|
||||
startAt = "*-*-* 09:00:00";
|
||||
compression = "zstd";
|
||||
};
|
||||
};
|
||||
systemd.services.postgresql.postStart = ''
|
||||
${config.services.postgresql.package}/bin/psql \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue