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 = {
group = "users";
template = ''
{{ with secret "kv/apps/nixbuild" }}
{{ with secret "kv/apps/nixbuild" -}}
{{ .Data.data.id_ed25519_nixbuild }}
{{ end }}
{{- end }}
'';
};
my.vault.secrets."id_ed25519_nixbuild.pub" = {
group = "users";
template = ''
{{ with secret "kv/apps/nixbuild" }}
{{ with secret "kv/apps/nixbuild" -}}
{{ .Data.data.id_ed25519_nixbuild_pub }}
{{ end }}
{{- end }}
'';
};
programs.ssh.extraConfig = ''