nixos-config/config/services/initrd-ssh.nix

7 lines
149 B
Nix

{...}: {
boot.initrd.network = {
enable = true;
ssh.enable = true;
ssh.hostKeys = ["/etc/secrets/initrd/ssh_host_ed25519_key"];
};
}