This commit is contained in:
iFargle 2023-11-26 19:57:52 +09:00
parent 0d3dcfffe4
commit b45f7cb8d3

View file

@ -7,7 +7,7 @@
boot.kernelParams = [ "ip=dhcp" ];
boot.initrd = {
secrets = {
"/etc/secrets/initrd/ssh_host_rsa_key" = "/etc/secrets/initrd/ssh_host_rsa_key";
"/etc/ssh/ssh_host_rsa_key" = "/etc/secrets/initrd/ssh_host_rsa_key";
};
systemd.users.root.shell = "/bin/cryptsetup-askpass";
network.enable = true;
@ -16,12 +16,19 @@
enable = true;
port = 22;
authorizedKeys = [
# root@japan-rpi4
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCS7V/UnkVoLKcppV7Ew7VjkG6usGrFaFSSP3pnJE9ZFotErsSwxYiP7zG3giKX4x+xpP0NTf67qanDAHF3gBO9OeBSxQaUYN+Vuw6nThF7zqiyCRdd0ek/5RBvhrPlcH8h5VSk0UzVCsX18StrrYGjg5qvDf89Zfa3eikWFU162jTdUERK6nw/RzURZWTjrwN8JMePUF50FG5iyvAwL+yQf5U9Xu4TelK3i1k1yscOiWmKW5MBIqE6VN4JL1fCnE3k8tJENXhmp0gnGY+H1tvd+iJkqYbXoujAyXNTrKULf/OknjVg6DlsxJ190OgpeLw6JBw6wvbXIvTQ0B5VX+Sv+CH3vmuHeyt9IpHFti8MIEIoZ9m5xDoGAKKiOzPKjll4yNgPVEHZKOloHpnz2wmXIHV2Qxxg/IWjImtkTgm0S0Io0RIEblJK1Pz9Y/6JqRyK33+wJs8FKUYv9YX4wn8u8out0qdf0H0hH5xRr4Y+1ZoJO1DLM55kf1e+kGpOsG8= root@japan-rpi4"
# Phone
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAIAQCmKeuGJkCc0yYpdwcjNClwWaABvdB3p+WvatdX5p4wYs4iTq6eLkOCHwkMHYpiwyIyUTRbYqSIznzGBMzoWdVPoBpWidFGZAx4Ud8kjvoeFHT4DSPra+SXW7foNme6xHAF96czA6LPDV9IEGb5eXV+chHICZ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