hackens-org-configurations/secrets/secrets.nix

11 lines
356 B
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;
readPubkeys = user:
builtins.filter (k: k != "")
(lib.splitString "\n" (builtins.readFile (../pubkeys + "/${user}.keys")));
in {
"wiki-openID.age".publicKeys = (readPubkeys "sinavir")
++ (readPubkeys "hackens-host") ++ (readPubkeys "raito")
++ (readPubkeys "gdd") ++ (readPubkeys "backslash");
2022-06-09 22:13:12 +02:00
}