hackens-org-configurations/secrets/secrets.nix
hackens server 936f613834 age
2022-06-11 21:12:42 +02:00

7 lines
339 B
Nix

let
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");
}