Files
dotfiles/modules/features/boot/secure-boot.nix
2026-05-30 23:37:40 +09:00

14 lines
264 B
Nix

{ lib, config, ... }:
let
cfg = config.my.features.boot.secureBoot;
in
{
options.my.features.boot.secureBoot = {
enable = lib.mkEnableOption "Secure boot (lanzaboote)";
};
config = lib.mkIf cfg.enable {
my.system.secure-boot.enable = true;
};
}