From 5893ada5a20ad11c5c29380eefa399d84460f89a Mon Sep 17 00:00:00 2001 From: Lyn Date: Wed, 16 Oct 2024 17:33:54 +0200 Subject: [PATCH] quick fix as dropbear was deprecated and now we need to pregenerate keys --- hosts/supernova/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/supernova/default.nix b/hosts/supernova/default.nix index 5817e1d..e684e42 100644 --- a/hosts/supernova/default.nix +++ b/hosts/supernova/default.nix @@ -24,7 +24,7 @@ ssh = { enable = true; port = 2222; - hostECDSAKey = /var/src/secrets/dropbear/ecdsa-hostkey; + hostKeys = /boot/initrd/ssh_host_rsa_key; # this includes the ssh keys of all users in the wheel group, but you can just specify some keys manually # authorizedKeys = [ "ssh-rsa ..." ]; authorizedKeys = with lib; concatLists (mapAttrsToList (name: user: if elem "wheel" user.extraGroups then user.openssh.authorizedKeys.keys else []) config.users.users);