System/info/ssh-keys.nix

56 lines
1.8 KiB
Nix
Raw Normal View History

2023-04-26 05:46:48 -04:00
rec {
2023-04-26 01:18:27 -04:00
keys = {
# yubikey ssh key
2023-05-01 18:00:17 -04:00
"yubikey" = {
key =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILRs6zVljIlQEZ8F+aEBqqbpeFJwCw3JdveZ8TQWfkev cardno:000615938515";
};
2023-05-01 17:27:46 -04:00
# levitation ssh key
2023-05-01 18:00:17 -04:00
"levitation" = {
key =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG0zeLTlg++shIYcqxksDVkTtHS3MIvlqPIIW+9pufQa nathan@levitation";
};
2023-04-26 01:18:27 -04:00
# WSL key
2023-05-01 18:00:17 -04:00
"wsl" = {
key =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGXEV5lvLQ1CcPuJANv5AiYxtcRFEYXD5nODCazWnYC5 nathan@mccarty.io";
};
2023-04-26 01:18:27 -04:00
# Phone key
2023-05-01 18:00:17 -04:00
"phone" = {
key =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFR0zpmBCb0iEOeeI6SBwgucddNzccfQ5Zmdgib5iSmF nix-on-droid@localhost";
};
2023-04-26 01:18:27 -04:00
# Tablet key
2023-05-01 18:00:17 -04:00
"tablet" = {
key =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKltqneJjfdLjOvnWQC2iP7hP7aTYkURPiR8LFjB7z87 nix-on-droid@localhost";
};
2023-04-26 01:18:27 -04:00
# Macbook key
2023-05-01 18:00:17 -04:00
"extremophile" = {
key =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPLIZC4A4OhpTvfoL5jeMb1Ong9CwZ/URCYZL6y4Gp7b nathan@extremophile.local";
};
2023-04-26 01:18:27 -04:00
# vm key
2023-05-01 18:00:17 -04:00
"productivity-vm" = {
key =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMgtdTJThr5/vfUswQb3ee6A++W1OxAOGFQJTE8xDuHv nathan@productivity-vm";
};
2023-05-13 16:59:27 -04:00
# oracles key
"oracles" = {
key =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAj6He0uDnJAZsfywoUwOSAnxqpbO9UnfcAV78a1SUGa nathan@oracles";
};
# fusion key
"fusion" = {
key =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICILeBcpPVs12pDnsOPyDVwnwReCbrqzXMF+cV5bWCCa nathan@fusion";
};
2023-04-26 01:18:27 -04:00
};
2023-05-01 18:00:17 -04:00
list = map (x: x.key) (builtins.attrValues keys);
allowedSigners = builtins.concatStringsSep "\n" (map (x:
"${
builtins.concatStringsSep ","
(x.emails or [ "*@mccarty.io" "*@stranger.systems" ])
} ${x.key}") (builtins.attrValues keys));
2023-04-26 01:18:27 -04:00
}