mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Backup hcloud instances with borg
This commit is contained in:
parent
59cb6ac9b9
commit
292619386b
6 changed files with 87 additions and 6 deletions
|
|
@ -5,8 +5,13 @@
|
|||
package = pkgs.postgresql_12;
|
||||
initialScript = "/var/keys/postgres-init.sql";
|
||||
enableTCPIP = true;
|
||||
identMap = ''
|
||||
root_as_others root synapse
|
||||
'';
|
||||
authentication = ''
|
||||
host all all 10.0.1.0/24 md5
|
||||
local all postgres peer
|
||||
local all all peer map=root_as_others
|
||||
host all all 10.0.1.0/24 md5
|
||||
'';
|
||||
};
|
||||
users.users.postgres.extraGroups = [ "keys" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue