Single secret files for all arr services

This commit is contained in:
pazpi 2025-09-14 12:57:38 +02:00
parent 758d01f8e2
commit c505db0d60
12 changed files with 58 additions and 140 deletions

View file

@ -10,6 +10,7 @@ in
{
age.secrets = {
arr-secrets.file = ../../secrets/arr-secrets.age;
tailscale-authKey.file = ../../secrets/tailscale-authKey.age;
};
@ -38,7 +39,10 @@ in
};
services.media-mgr = {
programs.enable = true;
programs = {
enable = true;
commonSecretsFile = config.age.secrets.arr-secrets.path;
};
};
virtualisation = {

View file

@ -11,6 +11,7 @@ in
{
age.secrets = {
exportarr-secrets.file = ../../secrets/exportarr-secrets.age;
tailscale-authKey.file = ../../secrets/tailscale-authKey.age;
grafana-admin-pwd = {
file = ../../secrets/grafana-admin-pwd.age;
@ -29,7 +30,11 @@ in
};
services.media-mgr = {
exportMetrics.enable = true;
exportMetrics = {
enable = true;
apiKeyFile = config.age.secrets.exportarr-secrets.path;
};
proxy.host = p.hosts.arr;
};
monitoring = {