mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
secrets module overhaul, moving back to bitwarden, removed glauca dyndns
This commit is contained in:
parent
1391eabee4
commit
57b35ead89
26 changed files with 190 additions and 192 deletions
|
|
@ -5,11 +5,17 @@ with lib;
|
|||
{
|
||||
imports = [ sources.nixos-mailserver.outPath ];
|
||||
|
||||
kw.secrets = [
|
||||
"mail-domainkey-kitty"
|
||||
"mail-kat-hash"
|
||||
"mail-gitea-hash"
|
||||
];
|
||||
kw.secrets.variables = (mapListToAttrs (field:
|
||||
nameValuePair "mail-${field}-hash" {
|
||||
path = "secrets/mail-kittywitch";
|
||||
field = "${field}-hash";
|
||||
}) ["gitea" "kat"]
|
||||
// {
|
||||
mail-domainkey-kitty = {
|
||||
path = "secrets/mail-kittywitch";
|
||||
field = "notes";
|
||||
};
|
||||
});
|
||||
|
||||
deploy.tf.dns.records.services_mail_mx = {
|
||||
tld = config.network.dns.tld;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue