Test
This commit is contained in:
parent
810ca628ba
commit
9010b50d8c
1 changed files with 12 additions and 1 deletions
|
@ -5,8 +5,19 @@
|
|||
|
||||
# ssh setup
|
||||
boot.kernelParams = [ "ip=dhcp" ];
|
||||
|
||||
# ssh setup
|
||||
boot.initrd.network.enable = true;
|
||||
boot.initrd.network.ssh = {
|
||||
enable = true;
|
||||
port = 22;
|
||||
shell = "/bin/cryptsetup-askpass";
|
||||
authorizedKeys = [ "ssh-rsa AAAAyourpublic-key-here...." ];
|
||||
hostKeys = [ "/etc/secrets/initrd/ssh_host_rsa_key" "/etc/secrets/initrd/ssh_host_ed25519_key" ];
|
||||
};
|
||||
|
||||
boot.initrd = {
|
||||
secrets = { "/boot/ssh_host_rsa_key" = "/boot/ssh_host_rsa_key"; };
|
||||
enable = true;
|
||||
systemd.users.root.shell = "/bin/cryptsetup-askpass";
|
||||
network.enable = true;
|
||||
availableKernelModules = [ "cdc_ncm" ];
|
||||
|
|
Loading…
Reference in a new issue