2022-12-30 03:34:59 +00:00
|
|
|
{ config, lib, ... }:
|
2022-10-25 09:09:27 +00:00
|
|
|
{
|
2022-12-30 03:34:59 +00:00
|
|
|
environment.etc."ssh/host_keys".source = "/nix/persist/etc/ssh/host_keys";
|
2022-10-31 03:03:00 +00:00
|
|
|
|
2022-10-25 09:09:27 +00:00
|
|
|
services.openssh.hostKeys = [
|
|
|
|
{ type = "rsa"; bits = 4096; path = "/etc/ssh/host_keys/ssh_host_rsa_key"; }
|
|
|
|
{ type = "ed25519"; path = "/etc/ssh/host_keys/ssh_host_ed25519_key"; }
|
|
|
|
];
|
2022-12-30 03:34:59 +00:00
|
|
|
|
2022-10-25 09:09:27 +00:00
|
|
|
}
|