build03, web02: backup postgresql
This commit is contained in:
parent
2aa87e5b0f
commit
8ce44ebf9a
5 changed files with 59 additions and 9 deletions
modules/nixos/monitoring
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{ config, inputs, ... }:
|
||||
{
|
||||
systemd.services.grafana.after = [ config.systemd.services.prometheus.name ];
|
||||
|
||||
|
@ -68,8 +63,6 @@
|
|||
];
|
||||
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_17;
|
||||
ensureDatabases = [ "grafana" ];
|
||||
ensureUsers = [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue