nixbuild-distributed: tweak secret format

This commit is contained in:
Luke Granger-Brown 2023-03-12 02:04:08 +00:00
parent 9d6aa88d2d
commit f0712a966a

View file

@ -30,17 +30,17 @@
my.vault.secrets.id_ed25519_nixbuild = { my.vault.secrets.id_ed25519_nixbuild = {
group = "users"; group = "users";
template = '' template = ''
{{ with secret "kv/apps/nixbuild" }} {{ with secret "kv/apps/nixbuild" -}}
{{ .Data.data.id_ed25519_nixbuild }} {{ .Data.data.id_ed25519_nixbuild }}
{{ end }} {{- end }}
''; '';
}; };
my.vault.secrets."id_ed25519_nixbuild.pub" = { my.vault.secrets."id_ed25519_nixbuild.pub" = {
group = "users"; group = "users";
template = '' template = ''
{{ with secret "kv/apps/nixbuild" }} {{ with secret "kv/apps/nixbuild" -}}
{{ .Data.data.id_ed25519_nixbuild_pub }} {{ .Data.data.id_ed25519_nixbuild_pub }}
{{ end }} {{- end }}
''; '';
}; };
programs.ssh.extraConfig = '' programs.ssh.extraConfig = ''