From f8f68df8686f223622ca81d3a5cde93e2474b359 Mon Sep 17 00:00:00 2001 From: kalipso Date: Sat, 15 Nov 2025 13:11:04 +0100 Subject: [PATCH] [initssh] load all zfs keys --- machines/modules/malobeo/initssh.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/machines/modules/malobeo/initssh.nix b/machines/modules/malobeo/initssh.nix index 8286084..62d2ceb 100644 --- a/machines/modules/malobeo/initssh.nix +++ b/machines/modules/malobeo/initssh.nix @@ -56,11 +56,11 @@ in path = with pkgs; [ zfs ]; serviceConfig.Type = "oneshot"; script = '' - echo "systemctl default" >> /var/empty/.profile + echo "zfs load-key -a; killall zfs; systemctl default" >> /var/empty/.profile ''; }; }; kernelParams = [ "ip=::::${hostName}-initrd::dhcp" ]; }; }; -} \ No newline at end of file +}