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