nix-community / disko

Declarative disk partitioning and formatting using nix [maintainer=@Lassulus]
MIT License
1.42k stars 157 forks source link

Yubikey usage #674

Open hatch01 opened 2 weeks ago

hatch01 commented 2 weeks ago

Hey, I use and love disko. I use the LUKS encryption with works very well, but I would like to use my YubiKey as the key to decrypt my disks. I know that NixOS supports this but don't know if it would be difficult to add in disko. Here is my current config that I would like to modify to use a yubikey as luks key : config

Mic92 commented 2 weeks ago

I know someone did a work in progress branch here: https://github.com/tiiuae/ghaf/pull/517/files Hopefully this give you some pointer to continue.