Persist ssh host keys

main
kalle 2024-11-22 20:07:19 +01:00
parent edab7d7abe
commit 267c228598
1 changed files with 4 additions and 0 deletions

View File

@ -79,6 +79,10 @@
];
files = [
"/etc/machine-id"
{ file = "/etc/ssh/ssh_host_ed25519_key"; mode = "0600"; }
{ file = "/etc/ssh/ssh_host_ed25519_key.pub"; mode = "0644"; }
{ file = "/etc/ssh/ssh_host_rsa_key"; mode = "0600"; }
{ file = "/etc/ssh/ssh_host_rsa_key.pub"; mode = "0644"; }
];
};