remove old ssh keys

This commit is contained in:
KoenDR06 2025-10-01 11:39:07 +02:00
parent 7830d0c300
commit 05564059c8
7 changed files with 116 additions and 157 deletions

View file

@ -1,19 +1,13 @@
let
luna = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICZuSoySTECpPfwOe4u311F0WaiYbWHsk+7Fqe5RgSu1 horseman@luna";
terra = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPb4xCSo9JDflQJs8CsCjDWZSFXdavI9c9aqqozkL8OM horseman@terra";
solis = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA/X1pzKCThxxIkrb7ooBN+eJW8BKr8vJT7c1L7UjSfF horseman@solis";
horseman = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPpt0NisTZPYDdumMXhxaKv3JygSE0EKE6OiYw4A8ot7";
users = [luna solis terra horseman];
lunaSys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFu+XwTX1vF8Xqlna99Tu50TBT0cmOatb2LLwnC/33DU root@luna";
solisSys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDKepQ6sJahN0VQTMowIiga2WZBCaNBTadca+OxCV6T6 root@solis";
terraSys = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN6Mog8ujGXnEZ3lXm4zrYclh/0xx4LhZV2U5zqqxALE root@terra";
systems = [lunaSys solisSys terraSys];
all = users ++ systems;
luna = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFu+XwTX1vF8Xqlna99Tu50TBT0cmOatb2LLwnC/33DU root@luna";
solis = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDKepQ6sJahN0VQTMowIiga2WZBCaNBTadca+OxCV6T6 root@solis";
terra = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN6Mog8ujGXnEZ3lXm4zrYclh/0xx4LhZV2U5zqqxALE root@terra";
systems = [luna solis terra];
all = [horseman] ++ systems;
in {
"secrets/wifi.age".publicKeys = all;
"secrets/ssh/id_personal.age".publicKeys = all;