forked from DGNum/infrastructure
20 lines
442 B
Nix
20 lines
442 B
Nix
let
|
|
sources = import ../../../npins;
|
|
|
|
inherit ((import sources.nixpkgs { })) lib;
|
|
nix-lib = import ../../../lib { };
|
|
|
|
inherit ((import ../../../meta).members) groups;
|
|
|
|
publicKeys =
|
|
lib.splitString "\n" (builtins.readFile (./maurice.keys)) # maurice servers' keys
|
|
++ nix-lib.getAllKeys (groups.netbox ++ groups.root);
|
|
in
|
|
{
|
|
"netbox.age" = {
|
|
inherit publicKeys;
|
|
};
|
|
"netbox_env.age" = {
|
|
inherit publicKeys;
|
|
};
|
|
}
|