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