mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-19 21:49:52 -07:00
18 lines
613 B
Nix
18 lines
613 B
Nix
|
({ pkgs, lib, ... }: {
|
||
|
environment.systemPackages = [
|
||
|
# For debugging and troubleshooting Secure Boot.
|
||
|
pkgs.sbctl
|
||
|
];
|
||
|
|
||
|
# Lanzaboote currently replaces the systemd-boot module.
|
||
|
# This setting is usually set to true in configuration.nix
|
||
|
# generated at installation time. So we force it to false
|
||
|
# for now.
|
||
|
boot.loader.systemd-boot.enable = lib.mkForce false;
|
||
|
|
||
|
boot.lanzaboote = {
|
||
|
enable = true;
|
||
|
pkiBundle = "/etc/secureboot";
|
||
|
};
|
||
|
})
|