hackens-org-configurations/secrets/secrets.nix

8 lines
339 B
Nix
Raw Normal View History

2022-06-09 22:13:12 +02:00
let
lib = (import <nixpkgs> {}).lib;
2022-06-11 21:12:42 +02:00
readPubkeys = user: builtins.filter (k: k != "") (lib.splitString "\n" (builtins.readFile (../pubkeys + "/${user}.keys")));
2022-06-09 22:13:12 +02:00
in
{
"wiki-openID.age".publicKeys = (readPubkeys "sinavir") ++ (readPubkeys "hackens-host") ++ (readPubkeys "raito") ++ (readPubkeys "gdd") ++ (readPubkeys "backslash");
}