mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
chore: move generated secrets to separate directory
This commit is contained in:
parent
eeac57d30d
commit
788e7e3fa7
27 changed files with 42 additions and 63 deletions
|
@ -14,10 +14,7 @@ in {
|
|||
networking.providedDomains.loki = lokiDomain;
|
||||
|
||||
age.secrets.loki-basic-auth-hashes = {
|
||||
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;
|
||||
generator.script = "basic-auth";
|
||||
mode = "440";
|
||||
group = "nginx";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue