From e91481c4057d834f751806935d96a5ff85a25bf7 Mon Sep 17 00:00:00 2001 From: kalipso Date: Sat, 15 Nov 2025 16:50:07 +0100 Subject: [PATCH] [initssh] network.flushBeforeStage2 --- machines/modules/malobeo/initssh.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/machines/modules/malobeo/initssh.nix b/machines/modules/malobeo/initssh.nix index 84428ff..3733df0 100644 --- a/machines/modules/malobeo/initssh.nix +++ b/machines/modules/malobeo/initssh.nix @@ -46,11 +46,14 @@ in enable = true; network.enable = true; }; - network.ssh = { - enable = true; - port = 222; - authorizedKeys = cfg.authorizedKeys; - hostKeys = [ "/etc/ssh/initrd" ]; + network = { + flushBeforeStage2 = true; + ssh = { + enable = true; + port = 222; + authorizedKeys = cfg.authorizedKeys; + hostKeys = [ "/etc/ssh/initrd" ]; + }; }; secrets = { "/etc/ssh/initrd" = "/etc/ssh/initrd";