Single secret files for all arr services
This commit is contained in:
parent
758d01f8e2
commit
c505db0d60
12 changed files with 58 additions and 140 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue