about summary refs log tree commit diff
path: root/hosts/aptos
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-13 10:23:20 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-13 10:23:20 -0700
commit5e4d8a007254b9811c86b2ea142a280c9828271d (patch)
tree83c1b8e3ab3b502cb82c79d8438e201334f012c4 /hosts/aptos
parentsecrets: fix the path to the ssh key (diff)
downloadworld-5e4d8a007254b9811c86b2ea142a280c9828271d.tar.gz
secrets: move the actual secrets with hosts config
Having the secrets closer to the host is easier to manage. At the moment
I don't have secrets that are shared across multiple hosts, so that's an
OK approach.
Diffstat (limited to 'hosts/aptos')
-rw-r--r--hosts/aptos/secrets/secrets.nix4
-rw-r--r--hosts/aptos/secrets/wireguard_privatekey.agebin0 -> 467 bytes
2 files changed, 4 insertions, 0 deletions
diff --git a/hosts/aptos/secrets/secrets.nix b/hosts/aptos/secrets/secrets.nix
new file mode 100644
index 0000000..28c4078
--- /dev/null
+++ b/hosts/aptos/secrets/secrets.nix
@@ -0,0 +1,4 @@
+let
+  aptos =
+    "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIdlm/qoR/dnMjZhVSTtqFzkgN3Yf9eQ3pgKMiipg+dl";
+in { "wireguard_privatekey.age".publicKeys = [ aptos ]; }
diff --git a/hosts/aptos/secrets/wireguard_privatekey.age b/hosts/aptos/secrets/wireguard_privatekey.age
new file mode 100644
index 0000000..2f6edf3
--- /dev/null
+++ b/hosts/aptos/secrets/wireguard_privatekey.age
Binary files differ