On NixOS, Secure Boot can be enabled via the project Lanzaboote. Alternatively, by using the Limine project.