This commit is contained in:
mjallen18
2026-03-24 10:20:46 -05:00
parent d1960837a0
commit 7798684d29
10 changed files with 1564 additions and 11 deletions

View File

@@ -140,7 +140,7 @@ in
group = "keys";
restartUnits = [
"nextcloud.service"
"prometheus-nextcloud-exporter.service"
"prometheus-nextcloud-exporter.service" # actual systemd unit name
];
};
"jallen-nas/nextcloud/smtp_settings" = {
@@ -285,6 +285,21 @@ in
sopsFile = defaultSops;
restartUnits = [ "podman-authenticRac.service" ];
};
# ------------------------------
# Grafana
# ------------------------------
# secret_key was previously the upstream default "SW2YcwTIb9zpOOhoPsMm".
# It is stored here so Grafana can read it via the file provider without
# embedding it in the world-readable Nix store.
# To rotate: use https://github.com/erooke/grafana-secretkey-rotation-tool
"jallen-nas/grafana/secret-key" = {
sopsFile = defaultSops;
owner = "grafana";
group = "grafana";
mode = "0400";
restartUnits = [ "grafana.service" ];
};
};
# ------------------------------