about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-06-16T13·08+0300
committertazjin <tazjin@tvl.su>2023-06-18T12·43+0000
commit6678e768a08e993c586756ad1815a5fcf1f520b6 (patch)
tree0b911b352110aec0e141b5845e9056ac2dfe609c /users
parenta3b212b82b58e5971c70a1ad91fd2f3d775bddb5 (diff)
feat(tazjin/secrets): initialise secrets management for my machines r/6326
Change-Id: I93ad61f3e6e4a4a2185448ad128fa6836c81ab26
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8825
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'users')
-rw-r--r--users/tazjin/secrets/default.nix3
-rw-r--r--users/tazjin/secrets/secrets.nix13
-rw-r--r--users/tazjin/secrets/tgsa-yandex.agebin0 -> 4838 bytes
3 files changed, 16 insertions, 0 deletions
diff --git a/users/tazjin/secrets/default.nix b/users/tazjin/secrets/default.nix
new file mode 100644
index 000000000000..5550103c5a66
--- /dev/null
+++ b/users/tazjin/secrets/default.nix
@@ -0,0 +1,3 @@
+{ depot, ... }:
+
+depot.ops.secrets.mkSecrets ./. (import ./secrets.nix)
diff --git a/users/tazjin/secrets/secrets.nix b/users/tazjin/secrets/secrets.nix
new file mode 100644
index 000000000000..d6f86decc5dd
--- /dev/null
+++ b/users/tazjin/secrets/secrets.nix
@@ -0,0 +1,13 @@
+let
+  myKeys = import ../keys { };
+  allKeys = [
+    # local keys
+    myKeys.tverskoy_ed25519
+    myKeys.zamalek_ed25519
+    # koptevo
+    "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMw2ZfdNZCXCOtbQNT6hztXCIkTcO9MBrOuDqMlmGOYK root@koptevo"
+  ];
+in
+{
+  "tgsa-yandex.age".publicKeys = allKeys;
+}
diff --git a/users/tazjin/secrets/tgsa-yandex.age b/users/tazjin/secrets/tgsa-yandex.age
new file mode 100644
index 000000000000..39fe638346ef
--- /dev/null
+++ b/users/tazjin/secrets/tgsa-yandex.age
Binary files differ