From d3312c870ae68b0752ae04092de1a903c7eaae56 Mon Sep 17 00:00:00 2001 From: kalipso Date: Sat, 15 Nov 2025 16:37:11 +0100 Subject: [PATCH] [fanny] remove zfs-remote-unlock --- machines/modules/malobeo/initssh.nix | 11 ----------- 1 file changed, 11 deletions(-) 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" ]; };