mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-14 19:55:08 +01:00
reorder keys
This commit is contained in:
parent
0f9295ee45
commit
19b69c41fd
1 changed files with 5 additions and 5 deletions
|
|
@ -220,9 +220,8 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
hostKeys = [
|
hostKeys = [
|
||||||
{
|
{
|
||||||
bits = 4096;
|
path = "/etc/ssh/ssh_host_ed25519_key";
|
||||||
path = "/etc/ssh/ssh_host_rsa_key";
|
type = "ed25519";
|
||||||
type = "rsa";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
# P256
|
# P256
|
||||||
|
|
@ -230,8 +229,9 @@ in
|
||||||
type = "ecdsa";
|
type = "ecdsa";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
path = "/etc/ssh/ssh_host_ed25519_key";
|
bits = 4096;
|
||||||
type = "ed25519";
|
path = "/etc/ssh/ssh_host_rsa_key";
|
||||||
|
type = "rsa";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
settings.PermitRootLogin = "no";
|
settings.PermitRootLogin = "no";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue