forked from fi/nix-infra
Rename nixos-coturn to coturn and finish config
This commit is contained in:
parent
d625f3f887
commit
8b6d09def8
8 changed files with 49 additions and 21 deletions
11
hosts/coturn/secrets.nix
Normal file
11
hosts/coturn/secrets.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ ... }:
|
||||
{
|
||||
deployment.keys."static-auth-secret.secret" = {
|
||||
keyCommand = [ "env" "GNUPGHOME=/home/yuri/.passinfra_gnupg" "PASSWORD_STORE_DIR=/home/yuri/pass/infra" "pass" "coturn/static-auth-secret" ];
|
||||
destDir = "/secrets";
|
||||
user = "turnserver";
|
||||
group = "turnserver";
|
||||
permissions = "0640";
|
||||
uploadAt = "pre-activation";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue