Disko - installation with Luks/FIDO2

Hello,

I am trying Disko, more specifically this example disko/example/luks-fido2.nix at 32f4236bfc141ae930b5ba2fb604f561fed5219d · nix-community/disko · GitHub I get error that the option disko.devices.disk.main.content.partitions.luks.content.enrollFido2 does not exist. I looked at disko/lib/types/luks.nix at 32f4236bfc141ae930b5ba2fb604f561fed5219d · nix-community/disko · GitHub and seems it is calling systemd-fido2 as command but I can’t find it in any nix package. Did anyone else ran into this issue?

Regards

Which version of disko are you using? This feature got merged last weekend feat: add FIDO2 & recovery support for LUKS by RaitoBezarius · Pull Request #1143 · nix-community/disko · GitHub .

As far as I understand, this is not a command, this is the token type passed to the cryptsetup command (c.f. disko/lib/types/luks.nix at 32f4236bfc141ae930b5ba2fb604f561fed5219d · nix-community/disko · GitHub).

I am running nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount luks-fido2.nix - the nix file is 99% as the one in the repository, just different device and disk size. I will check with /main instead of latest.