fix(surgat): ssh initrd unlock
This commit is contained in:
parent
cb69d8edb0
commit
33bc06ee10
3 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
secretsPath = config.dadada.secrets.path;
|
||||
initrdHostKey = "${config.networking.hostName}-ssh_host_ed25519_key";
|
||||
initrdHostKey = "${config.networking.hostName}-initrd-ssh_host_ed25519_key";
|
||||
in
|
||||
{
|
||||
boot.initrd.availableKernelModules = [ "virtio-pci" ];
|
||||
|
@ -9,7 +9,7 @@ in
|
|||
enable = true;
|
||||
ssh = {
|
||||
enable = true;
|
||||
port = 22;
|
||||
port = 2223;
|
||||
hostKeys = [
|
||||
config.age.secrets."${initrdHostKey}".path
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue