postgres: add backup service, change initial mail

This commit is contained in:
Oystein Kristoffer Tveit 2022-11-08 14:20:33 +01:00
parent b5de57fd01
commit 61a99fae7b
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 7 additions and 1 deletions

View File

@ -17,11 +17,17 @@
services.pgadmin = {
enable = true;
openFirewall = true;
initialEmail = "h7x4abk3g@protonmail.com";
initialEmail = "h7x4@nani.wtf";
initialPasswordFile = "${config.machineVars.dataDrives.default}/var/pgadmin_pass";
port = secrets.ports.pgadmin;
settings = {
DATA_DIR = "${config.machineVars.dataDrives.default}/var/pgadmin";
};
};
services.postgresqlBackup = {
enable = true;
location = "${config.machineVars.dataDrives.default}/backup/postgres";
backupAll = true;
};
}