commit 24756372ef52b33f738bbb65c00825e6fa997dd9
parent c49a65ab97c911bd62a89e283e0bb7140be02a86
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 9 Aug 2023 13:46:44 +0200
Fix path
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/ssh_host_ed25519_key" ];
+ hostKeys = [ "/etc/secrets/initrd/ssh_host_ed25519_key" ];
# I'll just authorize all keys authorized post-boot.
authorizedKeys = config.users.users.marcel.openssh.authorizedKeys.keys;
};