commit c49a65ab97c911bd62a89e283e0bb7140be02a86
parent 769d20b429fb263b3ca5070e0f180091eef20256
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 9 Aug 2023 13:43:32 +0200
Use correct hostkey
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix
@@ -134,7 +134,7 @@
# keys. Also, make sure to use a boot loader with support for initrd
# secrets (e.g. systemd-boot), or this will be exposed in the nix store
# to unprivileged users.
- hostKeys = [ "/etc/ssh/initrd_ssh_host_ed25519_key" ];
+ hostKeys = [ "/etc/ssh/ssh_host_ed25519_key" ];
# I'll just authorize all keys authorized post-boot.
authorizedKeys = config.users.users.marcel.openssh.authorizedKeys.keys;
};