test
This commit is contained in:
parent
a885d2a5e6
commit
2c9377d7cb
1 changed files with 1 additions and 10 deletions
|
@ -6,17 +6,8 @@
|
||||||
# ssh setup
|
# ssh setup
|
||||||
boot.kernelParams = [ "ip=dhcp" ];
|
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 = {
|
boot.initrd = {
|
||||||
|
enable = true;
|
||||||
systemd.users.root.shell = "/bin/cryptsetup-askpass";
|
systemd.users.root.shell = "/bin/cryptsetup-askpass";
|
||||||
availableKernelModules = [ "cdc_ncm" ];
|
availableKernelModules = [ "cdc_ncm" ];
|
||||||
network.enable = true;
|
network.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue