blob: 46b7ffd34ceecdf9ddb7d828802de60040ab6970 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{...}: {
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
hostKeys = [
{
# See the explanation for this in /system/impermanence/mods/openssh.nix
# path = "/var/lib/sshd/ssh_host_ed25519_key";
# FIXME: Remove this workaround
path = "/srv/var/lib/sshd/ssh_host_ed25519_key";
rounds = 1000;
type = "ed25519";
}
];
};
}
|