From a5f09c1df7979fabeae0088a029048f656943c05 Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Sun, 15 Sep 2024 11:57:36 -0400 Subject: [PATCH] fixed mistake --- systems/common/optional/ssh_decrypt.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/systems/common/optional/ssh_decrypt.nix b/systems/common/optional/ssh_decrypt.nix index 557476d..f3cd091 100644 --- a/systems/common/optional/ssh_decrypt.nix +++ b/systems/common/optional/ssh_decrypt.nix @@ -1,13 +1,15 @@ { config, ... }: { - boot.initrd.network = { - enable = true; - ssh = { + boot.initrd = { + network = { enable = true; - port = 2222; - hostKeys = [ "/etc/ssh/initrd_ssh_host_ed25519_key" ]; - authorizedKeys = config.users.users.richie.openssh.authorizedKeys.keys; + ssh = { + enable = true; + port = 2222; + hostKeys = [ "/etc/ssh/initrd_ssh_host_ed25519_key" ]; + authorizedKeys = config.users.users.richie.openssh.authorizedKeys.keys; + }; }; + availableKernelModules = [ "igb" ]; }; - availableKernelModules = [ "igb" ]; }