The stock installer ISO has no SSH keys, so getting into a new box always needs a manual step at its console before it can be reached over the network, and finding its addresses needs another. Add an installer-iso output built from upstream's combined minimal installer, which offers both the LTS and latest kernels in its boot menu. My keys move to modules/ssh/authorized-keys.nix, shared by the fleet and the ISO, which authorises them for both nixos and root. A small service watches address changes and writes the addresses that can be connected to into /run/issue.d, leaving out loopback and temporary, deprecated or tentative IPv6 addresses, then has agetty redraw the login prompt. The ISO is a check for both x86_64-linux and aarch64-linux, so CI catches it breaking before it is needed. Test plan: - CI - Built `nix build '.#installer-iso'` and confirmed the boot menu has both the LTS and latest kernel entries - Confirmed bob's toplevel check is unchanged by the key move
14 lines
1.5 KiB
Nix
14 lines
1.5 KiB
Nix
[
|
|
"sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBBwJH4udKNvi9TjOBgkxpBBy7hzWqmP0lT5zE9neusCpQLIiDhr6KXYMPXWXdZDc18wH1OLi2+639dXOvp8V/wgAAAAEc3NoOg== jake@beryllium-keys"
|
|
|
|
"sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBPPJtW19jOaUsjmxc0+QibaLJ3J3yxPXSXZXwKT0Ean6VeaH5G8zG+zjt1Y6sg2d52lHgrRfeVl1xrG/UGX8qWoAAAAEc3NoOg== jakehillion@jakehillion-mbp"
|
|
|
|
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFsFvYZApd8HBhtsGtCTivMDEKLidKRs7MpMbEIxXnbMTKyh3QsBUr4HZHoTex0kj/ZrdqifrZhaDrJeGzN8i3o= jake@bob.lt"
|
|
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC0uKIvvvkzrOcS7AcamsQRFId+bqPwUC9IiUIsiH5oWX1ReiITOuEo+TL9YMII5RyyfJFeu2ZP9moNuZYlE7Bs= jake@jake-mbp"
|
|
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOe6YuPo5/FsWaOWR4JHVrF9XQkeT4JE7TUici5ELQK/3/ngTL64JdRnVsf91piLQGyNRI3z2h18qGHQG+z55Zo= jake@merlin.rig"
|
|
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIz2CF69dwLg0IsuS7qoFL0TdOe0voalnKk6Xwk6ETL1rrzBUa7ZyZ7Pbb+2733BxSGCCGhdfzWI2/KO0FaH3xU= jake@maverick"
|
|
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNkDPYq9jw7hP2NqHxHv0/HQ0VfE0P4ABF3pzLK8B2lAHrItn0d3HMimxyBvVFfugccTRelVyjC+trNGwMjWN+A= jake@rooster"
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFvKBFPRsynMbcWu8PFxfF4Tz8/dIeiJ/4HKikvKGoRo jake@jakehillion-mba-m5-15"
|
|
]
|