setup grafana db
This commit is contained in:
parent
5d70cf127d
commit
f35facbcef
7 changed files with 63 additions and 27 deletions
12
flake.nix
12
flake.nix
|
|
@ -134,6 +134,12 @@
|
|||
owner = "grafana";
|
||||
group = "grafana";
|
||||
};
|
||||
postgres-grafana = {
|
||||
file = ./secrets/postgres-grafana.age;
|
||||
mode = "440";
|
||||
owner = "grafana";
|
||||
group = "grafana";
|
||||
};
|
||||
};
|
||||
}
|
||||
./hosts/monitoring
|
||||
|
|
@ -160,6 +166,12 @@
|
|||
group = "postgres";
|
||||
mode = "0400";
|
||||
};
|
||||
postgres-grafana = {
|
||||
file = ./secrets/postgres-grafana.age;
|
||||
owner = "postgres";
|
||||
group = "postgres";
|
||||
mode = "0400";
|
||||
};
|
||||
};
|
||||
}
|
||||
./hosts/sql
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue