From 19b69c41fdb2e16fff0b86a56786a83e95714a5a Mon Sep 17 00:00:00 2001 From: Noratrieb <48135649+Noratrieb@users.noreply.github.com> Date: Wed, 28 Aug 2024 00:14:18 +0200 Subject: [PATCH] reorder keys --- nixos/configuration.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 498a5c4..6a832cd 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -220,9 +220,8 @@ in enable = true; hostKeys = [ { - bits = 4096; - path = "/etc/ssh/ssh_host_rsa_key"; - type = "rsa"; + path = "/etc/ssh/ssh_host_ed25519_key"; + type = "ed25519"; } { # P256 @@ -230,8 +229,9 @@ in type = "ecdsa"; } { - path = "/etc/ssh/ssh_host_ed25519_key"; - type = "ed25519"; + bits = 4096; + path = "/etc/ssh/ssh_host_rsa_key"; + type = "rsa"; } ]; settings.PermitRootLogin = "no";