hackens-org-configurations/machines/hackens-org/secrets/secrets.nix

53 lines
1.5 KiB
Nix
Raw Normal View History

2022-06-09 22:13:12 +02:00
let
2023-01-12 18:40:38 +01:00
lib = (import <nixpkgs> { }).lib;
2024-09-24 12:33:51 +02:00
readpubkeys =
user:
builtins.filter (k: k != "") (
lib.splitString "\n" (builtins.readFile (../../../pubkeys + "/${user}.keys"))
);
2023-02-24 14:43:18 +01:00
in
{
2024-09-24 12:33:51 +02:00
"matterbridge-env.age".publicKeys =
(readpubkeys "sinavir")
++ (readpubkeys "hackens-host")
++ (readpubkeys "catvayor")
2024-09-24 12:33:51 +02:00
++ (readpubkeys "raito")
++ (readpubkeys "gdd")
++ (readpubkeys "backslash");
"snipeit.age".publicKeys =
(readpubkeys "sinavir")
++ (readpubkeys "hackens-host")
++ (readpubkeys "raito")
++ (readpubkeys "catvayor")
2024-09-24 12:33:51 +02:00
++ (readpubkeys "gdd")
++ (readpubkeys "backslash");
"django.age".publicKeys =
(readpubkeys "sinavir")
++ (readpubkeys "hackens-host")
++ (readpubkeys "raito")
++ (readpubkeys "catvayor")
2024-09-24 12:33:51 +02:00
++ (readpubkeys "gdd")
++ (readpubkeys "backslash");
"django-gestiohackens.age".publicKeys =
(readpubkeys "sinavir")
++ (readpubkeys "hackens-host")
++ (readpubkeys "raito")
++ (readpubkeys "catvayor")
2024-09-24 12:33:51 +02:00
++ (readpubkeys "gdd")
++ (readpubkeys "backslash");
"wg-key.age".publicKeys =
(readpubkeys "sinavir")
++ (readpubkeys "hackens-host")
++ (readpubkeys "raito")
++ (readpubkeys "gdd")
++ (readpubkeys "catvayor")
2024-09-24 12:33:51 +02:00
++ (readpubkeys "backslash");
"prometheus-webconf".publicKeys =
(readpubkeys "sinavir")
++ (readpubkeys "hackens-host")
++ (readpubkeys "raito")
++ (readpubkeys "gdd")
++ (readpubkeys "catvayor")
2024-09-24 12:33:51 +02:00
++ (readpubkeys "backslash");
2022-06-09 22:13:12 +02:00
}