9 lines
290 B
Nix
9 lines
290 B
Nix
|
let
|
||
|
lib = (import <nixpkgs> {}).lib;
|
||
|
readPubkeys = user:
|
||
|
builtins.filter (k: k != "") (lib.splitString "\n"
|
||
|
(builtins.readFile (../../../pubkeys + "/${user}.keys")));
|
||
|
in {
|
||
|
"wg.age".publicKeys = (readPubkeys "catvayor") ++ (readPubkeys "sinavir") ++ (readPubkeys "agb02");
|
||
|
}
|