servers/lib/data.nix

8 lines
202 B
Nix
Raw Normal View History

2025-06-10 00:09:26 -05:00
rec {
2026-02-24 00:00:35 -08:00
getSSHKeys =
let
sshKeys = builtins.fromTOML (builtins.readFile ../data/ssh-keys.toml);
in
2025-06-10 00:09:26 -05:00
name: (builtins.mapAttrs (_: value: builtins.attrValues value) sshKeys)."${name}";
}