1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 14:50:40 +02:00

fix: rename influx org to machines; fix typo that prevented auth tokens from being created (organization>s<)

This commit is contained in:
oddlama 2023-12-23 15:16:22 +01:00
parent 94b0d60ab5
commit 2120aefef5
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
7 changed files with 9 additions and 9 deletions

View file

@ -66,7 +66,7 @@ in {
group = "influxdb2";
};
services.influxdb2.provision.organization.servers.auths."telegraf (${config.node.name})" = {
services.influxdb2.provision.organizations.machines.auths."telegraf (${config.node.name})" = {
readBuckets = ["telegraf"];
writeBuckets = ["telegraf"];
tokenFile = nodes.${cfg.influxdb2.node}.config.age.secrets."telegraf-influxdb-token-${config.node.name}".path;