From e61c76e3b099d7c02dcb05f8b5780bbe8936ed30 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 30 Oct 2023 09:24:01 -0500 Subject: [PATCH] fix: ensure host identities are persisted on reboot --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 6a53a2e..c7cb9bf 100644 --- a/flake.nix +++ b/flake.nix @@ -31,7 +31,10 @@ ]; files = [ "/etc/machine-id" - "/etc/nix/id_rsa" + "/etc/ssh/ssh_host_ed25519_key" + "/etc/ssh/ssh_host_ed25519_key.pub" + "/etc/ssh/ssh_host_rsa_key" + "/etc/ssh/ssh_host_rsa_key.pub" ]; }; };