add grafana and postgresql to web host, fix sops keys
This commit is contained in:
parent
5651351d68
commit
255896cb9f
6 changed files with 128 additions and 18 deletions
9
hosts/web-01.cloonar.com/modules/postgresql.nix
Normal file
9
hosts/web-01.cloonar.com/modules/postgresql.nix
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue