fix: set new vm secret paths

This commit is contained in:
oddlama 2023-07-01 01:20:17 +02:00
parent 80e7c1bdbf
commit 11ba487bf0
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
4 changed files with 7 additions and 7 deletions

View file

@ -14,7 +14,7 @@ in {
networking.providedDomains.loki = lokiDomain;
age.secrets.loki-basic-auth-hashes = {
rekeyFile = ./secrets/loki-basic-auth-hashes.age;
rekeyFile = config.node.secretsDir + "/loki-basic-auth-hashes.age";
# Copy only the script so the dependencies can be added by the nodes
# that define passwords (using distributed-config).
generator.script = config.age.generators.basic-auth.script;