mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Pass + Secrets rework in all services
This commit is contained in:
parent
5dd38fac70
commit
5081308279
13 changed files with 78 additions and 83 deletions
|
|
@ -5,10 +5,9 @@ with lib;
|
|||
{
|
||||
imports = [ sources.nixos-mailserver.outPath ];
|
||||
|
||||
deploy.tf.variables.domainkey_kitty = {
|
||||
type = "string";
|
||||
value.shellCommand = "bitw get infra/domainkey-kitty";
|
||||
};
|
||||
kw.secrets = [
|
||||
"mail-domainkey-kitty"
|
||||
];
|
||||
|
||||
deploy.tf.dns.records.services_mail_mx = {
|
||||
tld = config.kw.dns.tld;
|
||||
|
|
@ -34,7 +33,7 @@ with lib;
|
|||
deploy.tf.dns.records.services_mail_domainkey = {
|
||||
tld = config.kw.dns.tld;
|
||||
domain = "mail._domainkey";
|
||||
txt.value = tf.variables.domainkey_kitty.ref;
|
||||
txt.value = tf.variables.mail-domainkey-kitty.ref;
|
||||
};
|
||||
|
||||
mailserver = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue