diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-21 19:47:50 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-21 19:47:50 -0700 |
commit | a86366546b40f3726af99851b5bf96b332d41ed5 (patch) | |
tree | e84e2b1a0737e8cd0394e2996bd31ff8c500e1f6 /hosts | |
parent | syncthing: don't run from home (diff) | |
download | world-a86366546b40f3726af99851b5bf96b332d41ed5.tar.gz |
syncthing: enable on trusted machines
Add the cert and key for aptos.
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/aptos/secrets/secrets.nix | 18 | ||||
-rw-r--r-- | hosts/aptos/secrets/syncthing/cert.age | bin | 0 -> 1209 bytes | |||
-rw-r--r-- | hosts/aptos/secrets/syncthing/key.age | bin | 0 -> 664 bytes | |||
-rw-r--r-- | hosts/aptos/secrets/wireguard_privatekey.age | bin | 467 -> 470 bytes |
4 files changed, 16 insertions, 2 deletions
diff --git a/hosts/aptos/secrets/secrets.nix b/hosts/aptos/secrets/secrets.nix index 28c4078..425a15f 100644 --- a/hosts/aptos/secrets/secrets.nix +++ b/hosts/aptos/secrets/secrets.nix @@ -1,4 +1,18 @@ let - aptos = + fcuny = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIdlm/qoR/dnMjZhVSTtqFzkgN3Yf9eQ3pgKMiipg+dl"; -in { "wireguard_privatekey.age".publicKeys = [ aptos ]; } + aptos = + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOTcPGaiL+/Mwl8JzLHrBwas7QvWPjix4lnaAA1tw+5t"; +in { + "wireguard_privatekey.age".publicKeys = [ fcuny aptos ]; + + "syncthing/key.age" = { + publicKeys = [ fcuny aptos ]; + owner = "fcuny"; + }; + + "syncthing/cert.age" = { + publicKeys = [ fcuny aptos ]; + owner = "fcuny"; + }; +} diff --git a/hosts/aptos/secrets/syncthing/cert.age b/hosts/aptos/secrets/syncthing/cert.age new file mode 100644 index 0000000..33c6645 --- /dev/null +++ b/hosts/aptos/secrets/syncthing/cert.age Binary files differdiff --git a/hosts/aptos/secrets/syncthing/key.age b/hosts/aptos/secrets/syncthing/key.age new file mode 100644 index 0000000..4e5c123 --- /dev/null +++ b/hosts/aptos/secrets/syncthing/key.age Binary files differdiff --git a/hosts/aptos/secrets/wireguard_privatekey.age b/hosts/aptos/secrets/wireguard_privatekey.age index 2f6edf3..17559c3 100644 --- a/hosts/aptos/secrets/wireguard_privatekey.age +++ b/hosts/aptos/secrets/wireguard_privatekey.age Binary files differ |