2024-02-02 13:45:05 +01:00
|
|
|
{ config, inputs, ... }:
|
|
|
|
{
|
2024-01-09 21:07:51 +01:00
|
|
|
boot.initrd.network = {
|
|
|
|
enable = true;
|
|
|
|
ssh = {
|
|
|
|
enable = true;
|
|
|
|
port = 22;
|
|
|
|
shell = "/bin/cryptsetup-askpass";
|
2024-02-02 13:45:05 +01:00
|
|
|
authorizedKeys = config.users.users.${config.az-username}.openssh.authorizedKeys.keys;
|
2024-01-29 13:39:27 +01:00
|
|
|
hostKeys = [ "/etc/secrets/initrd/ssh_host_ed25519_key" ];
|
2024-01-09 21:07:51 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|