diff --git a/machines/modules/malobeo/initssh.nix b/machines/modules/malobeo/initssh.nix index b72c280..84428ff 100644 --- a/machines/modules/malobeo/initssh.nix +++ b/machines/modules/malobeo/initssh.nix @@ -55,17 +55,6 @@ in secrets = { "/etc/ssh/initrd" = "/etc/ssh/initrd"; }; - systemd.services.zfs-remote-unlock = { - description = "Prepare for ZFS remote unlock"; - wantedBy = ["initrd.target"]; - after = ["systemd-networkd.service"]; - path = with pkgs; [ zfs ]; - serviceConfig.Type = "oneshot"; - script = '' - zpool import storage - echo "zfs load-key -a; killall zfs; systemctl default" >> /var/empty/.profile - ''; - }; }; kernelParams = [ "ip=::::${hostName}-initrd::dhcp" ]; };