From f0712a966a224d81a4207c0b0904c5eacd9e7527 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 12 Mar 2023 02:04:08 +0000 Subject: [PATCH] nixbuild-distributed: tweak secret format --- ops/nixos/lib/nixbuild-distributed.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ops/nixos/lib/nixbuild-distributed.nix b/ops/nixos/lib/nixbuild-distributed.nix index 90ca26035e..886c79abbb 100644 --- a/ops/nixos/lib/nixbuild-distributed.nix +++ b/ops/nixos/lib/nixbuild-distributed.nix @@ -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 = ''