7 lines
202 B
Nix
7 lines
202 B
Nix
rec {
|
|
getSSHKeys =
|
|
let
|
|
sshKeys = builtins.fromTOML (builtins.readFile ../data/ssh-keys.toml);
|
|
in
|
|
name: (builtins.mapAttrs (_: value: builtins.attrValues value) sshKeys)."${name}";
|
|
}
|