nix-infra/config/hosts/coturn/secrets.nix

12 lines
292 B
Nix
Raw Normal View History

{ keyCommandEnv,... }:
2023-07-10 15:30:51 +02:00
{
deployment.keys."static-auth-secret.secret" = {
keyCommand = keyCommandEnv ++ [ "pass" "coturn/static-auth-secret" ];
2023-07-10 15:30:51 +02:00
destDir = "/secrets";
user = "turnserver";
group = "turnserver";
permissions = "0640";
uploadAt = "pre-activation";
};
}