From 2c9377d7cbf91e7e3d1cddfdc7c082d46465d94e Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 29 Nov 2023 19:41:32 +0900 Subject: [PATCH] test --- nixos/hosts/framework-server/ssh-luks.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/nixos/hosts/framework-server/ssh-luks.nix b/nixos/hosts/framework-server/ssh-luks.nix index e75efcd7..7c2b2248 100644 --- a/nixos/hosts/framework-server/ssh-luks.nix +++ b/nixos/hosts/framework-server/ssh-luks.nix @@ -6,17 +6,8 @@ # 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 = { + enable = true; systemd.users.root.shell = "/bin/cryptsetup-askpass"; availableKernelModules = [ "cdc_ncm" ]; network.enable = true;