machines/newton: enable prometheus and grafana

This commit is contained in:
Felix Buehler 2023-04-07 22:40:51 +02:00
parent b6b23d16e6
commit 3bb2c4267c
2 changed files with 15 additions and 2 deletions

View file

@ -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;