feat: update age configuration to be inside
This commit is contained in:
parent
773c14e32f
commit
fc2aacd460
9 changed files with 187 additions and 191 deletions
|
|
@ -20,17 +20,16 @@
|
|||
};
|
||||
|
||||
# Decrypted at runtime by agenix
|
||||
age.secrets.tailscale-auth-key.file = ./secrets/tailscale-auth-key.age;
|
||||
|
||||
age.secrets.api-key.file = ./secrets/api-key.age;
|
||||
age.secrets.inbound-api-key.file = ./secrets/inbound-api-key.age;
|
||||
age.secrets.tailscale-auth-key.file = ../secrets/tailscale-auth-key.age;
|
||||
age.secrets.pi-to-cache-key.file = ../secrets/pi-to-cache-key.age;
|
||||
age.secrets.cache-to-pi-key.file = ../secrets/cache-to-pi-key.age;
|
||||
|
||||
services.noisebell = {
|
||||
enable = true;
|
||||
port = 80;
|
||||
endpointUrl = "https://noisebell.extremist.software/webhook";
|
||||
apiKeyFile = config.age.secrets.api-key.path;
|
||||
inboundApiKeyFile = config.age.secrets.inbound-api-key.path;
|
||||
apiKeyFile = config.age.secrets.pi-to-cache-key.path;
|
||||
inboundApiKeyFile = config.age.secrets.cache-to-pi-key.path;
|
||||
};
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue