2024-08-21 19:19:04 +00:00
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
statePath = config.environment.persistence.root.persistentStoragePath + "/etc/ssh";
|
|
|
|
in {
|
|
|
|
services.openssh.hostKeys = [
|
|
|
|
{ path = statePath + "/ssh_host_rsa_key"; type = "rsa"; bits = 4096; }
|
|
|
|
{ path = statePath + "/ssh_host_ed25519_key"; type = "ed25519"; }
|
2024-08-08 12:16:04 +00:00
|
|
|
];
|
|
|
|
}
|