nixbuild-distributed: tweak secret format
This commit is contained in:
parent
9d6aa88d2d
commit
f0712a966a
1 changed files with 4 additions and 4 deletions
|
@ -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 = ''
|
||||||
|
|
Loading…
Reference in a new issue