2023-05-15 23:31:50 -04:00
|
|
|
with builtins; 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 =
|
2023-07-21 15:09:48 -04:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAhT2daEShIfR+CWqVkNT5WZTdYhhPdTEM0B2XBMgdib nathan@extremophile.local";
|
2023-05-01 18:00:17 -04:00
|
|
|
};
|
2023-04-26 01:18:27 -04:00
|
|
|
# vm key
|
2023-05-01 18:00:17 -04:00
|
|
|
"productivity-vm" = {
|
|
|
|
key =
|
2023-06-19 03:32:02 -04:00
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICVlQ8OWPXqCnhKtWC/nNebbSXj8lTSlH4xvxwV3mHBZ nathan@nixos";
|
2023-05-01 18:00:17 -04:00
|
|
|
};
|
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-06-04 10:28:40 -04:00
|
|
|
# pendulum key
|
|
|
|
"pendulum" = {
|
|
|
|
key =
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICIDzy3m10s1sciUCfT1B/IzHeyOenHBxp47jkVrhBfm nathan@pendulum";
|
|
|
|
};
|
2023-04-26 01:18:27 -04:00
|
|
|
};
|
2023-05-15 23:31:50 -04:00
|
|
|
signingKeys = {
|
|
|
|
# Git automation bot
|
|
|
|
"strangerbot" = {
|
|
|
|
key =
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINC2cOHgeJaUfwp9DMX6oeIaSfD7pDKN3PUo2+6prC7N strangerbot@oracles";
|
|
|
|
emails = [ "bot@stranger.systems" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
list = map (x: x.key) (attrValues keys);
|
|
|
|
allowedSigners = concatStringsSep "\n" (map (x:
|
2023-05-01 18:00:17 -04:00
|
|
|
"${
|
2023-05-15 23:31:50 -04:00
|
|
|
concatStringsSep "," (x.emails or [ "*@mccarty.io" "*@stranger.systems" ])
|
|
|
|
} ${x.key}") ((attrValues keys) ++ (attrValues signingKeys)));
|
2023-04-26 01:18:27 -04:00
|
|
|
}
|