infrastructure/external/netbox/secrets/secrets.nix

16 lines
371 B
Nix
Raw Normal View History

let
sources = import ../../../npins;
inherit ((import sources.nixpkgs { })) lib;
nix-lib = import ../../../lib { };
groups = (import ../../../meta).members.groups;
in {
"netbox.age".publicKeys =
lib.splitString "\n" (builtins.readFile (./maurice.keys)) # maurice servers' keys
++ nix-lib.getAllKeys (
groups.netbox ++
groups.root
);
}