[initssh] load all zfs keys

This commit is contained in:
2025-11-15 13:11:04 +01:00
parent 38e4199e94
commit f8f68df868

View File

@@ -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" ];
};
};
}
}