diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-13 10:23:20 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-13 10:23:20 -0700 |
commit | 5e4d8a007254b9811c86b2ea142a280c9828271d (patch) | |
tree | 83c1b8e3ab3b502cb82c79d8438e201334f012c4 /hosts/aptos/secrets | |
parent | secrets: fix the path to the ssh key (diff) | |
download | world-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/secrets')
-rw-r--r-- | hosts/aptos/secrets/secrets.nix | 4 | ||||
-rw-r--r-- | hosts/aptos/secrets/wireguard_privatekey.age | bin | 0 -> 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 |