10 lines
271 B
Nix
10 lines
271 B
Nix
|
let
|
||
|
lib = (import <nixpkgs> {}).lib;
|
||
|
readPubkeys = user:
|
||
|
builtins.filter (k: k != "") (lib.splitString "\n"
|
||
|
(builtins.readFile (../../../shared/pubkeys + "/${user}.keys")));
|
||
|
in {
|
||
|
"wg.age".publicKeys = (readPubkeys "maurice") ++ (readPubkeys "bakham");
|
||
|
|
||
|
}
|