My dotfiles with a setup script to install dependencies and set things up the way I like. Feel free to use this for inspiration or to fork it and update as you like. You can even use it as-is if you really like it.
Putting this here for my own refernce https://github.com/agherzan/yubikey-full-disk-encryption https://sandro-keil.de/blog/yubikey-full-disk-encryption-uefi-secure-boot-for-everyone/