mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
networkdecrypt: rely on local ssh-key for now
This commit is contained in:
parent
e7b6c789dc
commit
2751c13183
1 changed files with 1 additions and 3 deletions
|
@ -1,8 +1,6 @@
|
|||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
sops.secrets.initrd_ssh_key = { };
|
||||
|
||||
boot.initrd.network = {
|
||||
enable = true;
|
||||
|
||||
|
@ -10,7 +8,7 @@
|
|||
enable = true;
|
||||
port = 2222;
|
||||
hostKeys = [
|
||||
config.sops.secrets.initrd_ssh_key.path
|
||||
"/etc/secrets/initrd/ssh_host_ed25519_key"
|
||||
];
|
||||
authorizedKeys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFx6OLwL9MbkD3mnMsv+xrzZHN/rwCTgVs758SCLG0h felix@thinkman"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue