infrastructure/external/netbox/secrets/secrets.nix
sinavir e91b0c81f1
All checks were successful
npins update / npins_update (push) Successful in 54s
feat(external services): add netbox config
2023-12-17 12:03:07 +01:00

15 lines
371 B
Nix

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
);
}