2023-12-17 12:03:07 +01:00
|
|
|
let
|
|
|
|
sources = import ../../../npins;
|
|
|
|
|
|
|
|
inherit ((import sources.nixpkgs { })) lib;
|
|
|
|
nix-lib = import ../../../lib { };
|
|
|
|
|
2023-12-17 17:16:53 +01:00
|
|
|
inherit ((import ../../../meta).members) groups;
|
|
|
|
|
2024-02-02 10:51:31 +01:00
|
|
|
publicKeys =
|
|
|
|
lib.splitString "\n" (builtins.readFile (./maurice.keys)) # maurice servers' keys
|
2023-12-17 17:16:53 +01:00
|
|
|
++ nix-lib.getAllKeys (groups.netbox ++ groups.root);
|
2024-02-02 10:51:31 +01:00
|
|
|
in
|
|
|
|
{
|
|
|
|
"netbox.age" = {
|
|
|
|
inherit publicKeys;
|
|
|
|
};
|
|
|
|
"netbox_env.age" = {
|
|
|
|
inherit publicKeys;
|
|
|
|
};
|
2023-12-17 12:03:07 +01:00
|
|
|
}
|