forked from extern/nixos-wiki-infra
exporse nixos keys in nixos-vars.json
This commit is contained in:
parent
47808ae447
commit
8ea980e9b3
@ -1 +1 @@
|
||||
{"ipv6_address":"2a01:4f9:c012:4d1e::1"}
|
||||
{"ipv6_address":"2a01:4f9:c012:4d1e::1","ssh_keys":["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKbBp2dH2X3dcU1zh+xW3ZsdYROKpJd3n13ssOP092qE joerg@turingmachine"]}
|
@ -34,5 +34,6 @@ resource "hcloud_server" "nixos_wiki" {
|
||||
locals {
|
||||
nixos_vars = {
|
||||
ipv6_address = hcloud_server.nixos_wiki.ipv6_address
|
||||
ssh_keys = data.hcloud_ssh_keys.nixos_wiki.ssh_keys.*.public_key
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user