mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:18:30 +09:00
14 lines
264 B
Nix
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;
|
|
};
|
|
}
|