add grafana and postgresql to web host, fix sops keys

This commit is contained in:
2023-08-19 01:10:15 +02:00
parent 5651351d68
commit 255896cb9f
6 changed files with 128 additions and 18 deletions

View File

@@ -0,0 +1,9 @@
{ pkgs, ... }: {
services.postgresql.enable = true;
services.postgresql.package = pkgs.postgresql_14;
services.postgresql.settings = {
max_connections = "300";
shared_buffers = "80MB";
};
services.postgresqlBackup.enable = true;
}