From 5a37cd1acbf722c037b58e26b62ad8cd80ca4a7a Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sat, 8 Oct 2022 22:03:02 +0200 Subject: Hardware: Disks: Persist ssh host key files --- hardware/virtualbox/disks.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hardware/virtualbox/disks.nix') diff --git a/hardware/virtualbox/disks.nix b/hardware/virtualbox/disks.nix index ef06d20..43097b5 100644 --- a/hardware/virtualbox/disks.nix +++ b/hardware/virtualbox/disks.nix @@ -56,6 +56,10 @@ in files = [ "/etc/machine-id" "/etc/nix/id_rsa" + "/etc/ssh/ssh_host_rsa_key" + "/etc/ssh/ssh_host_rsa_key.pub" + "/etc/ssh/ssh_host_ed25519_key" + "/etc/ssh/ssh_host_ed25519_key.pub" ]; }; -- cgit 1.4.1