mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
machines/newton: enable prometheus and grafana
This commit is contained in:
parent
b6b23d16e6
commit
3bb2c4267c
2 changed files with 15 additions and 2 deletions
|
@ -18,6 +18,9 @@ in
|
|||
owner = config.users.users.freshrss.name;
|
||||
};
|
||||
sops.secrets."photoprism/password" = { };
|
||||
sops.secrets."grafana/password" = {
|
||||
owner = config.users.users.grafana.name;
|
||||
};
|
||||
|
||||
# List services that you want to enable:
|
||||
my.services = {
|
||||
|
@ -101,6 +104,14 @@ in
|
|||
tandoor-recipes = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
prometheus = {
|
||||
enable = true;
|
||||
};
|
||||
grafana = {
|
||||
enable = true;
|
||||
passwordFile = secrets."grafana/password".path;
|
||||
};
|
||||
# Webserver
|
||||
nginx = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue