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 +}