2024-10-10 01:00:01 +02:00
|
|
|
let
|
|
|
|
lib = (import <nixpkgs> {}).lib;
|
|
|
|
readPubkeys = user:
|
|
|
|
builtins.filter (k: k != "") (lib.splitString "\n"
|
2024-10-10 23:26:56 +02:00
|
|
|
(builtins.readFile (../../../pubkeys + "/${user}.keys")));
|
2024-10-10 01:00:01 +02:00
|
|
|
in {
|
2024-10-10 23:26:56 +02:00
|
|
|
"wg.age".publicKeys = (readPubkeys "catvayor") ++ (readPubkeys "sinavir") ++ (readPubkeys "agb01");
|
2024-10-10 01:00:01 +02:00
|
|
|
|
|
|
|
}
|