all: Attempt to move back towards buildability in CI. Update.

This commit is contained in:
kat witch 2021-09-25 23:29:15 +01:00
parent edf1786377
commit 392bd30b66
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
11 changed files with 60 additions and 54 deletions

View file

@ -19,7 +19,11 @@ with lib;
path = "secrets/mautrix-telegram";
inherit field;
}) [ "api-hash" "api-id" "as-token" "hs-token" ]
// {
// (mapListToAttrs (field:
nameValuePair "synapse-saml2-${field}" {
path = "secrets/synapse-saml2-${field}";
}) ["cert" "key"])
// {
matrix-registration = {
path = "secrets/matrix-registration";
};
@ -43,13 +47,13 @@ with lib;
};
secrets.files.saml2-cert = {
source = config.kw.secrets.repo.synapse-cert.source;
text = tf.variables.synapse-saml2-cert.ref;
owner = "matrix-synapse";
group = "matrix-synapse";
};
secrets.files.saml2-privkey = {
source = config.kw.secrets.repo.synapse-key.source;
text = tf.variables.synapse-saml2-key.ref;
owner = "matrix-synapse";
group = "matrix-synapse";
};