Hi, i would like to discuss, if and how secure boot support should be added to the limine nixos module.
My current idea of adding support would be to:
- add a boot.loader.limine.enableSecureBoot option
- check that enrollConfig & panicOnChecksumMismatch are set
- sign the limine efi application if the option is set
This approach isn’t fully declarative and would require the user manually creating and enrolling the keys.
Creating the keys can’t really be avoided, but the keys could automatically be enrolled (if setup mode is active that is)
I need further thoughts and opinions on this.