22 lines
396 B
Nix
22 lines
396 B
Nix
{config, inputs, ...}: {
|
|
imports = [
|
|
inputs.lanzaboote.nixosModules.lanzaboote
|
|
];
|
|
|
|
fileSystems.${config.boot.loader.efi.efiSysMountPoint} = {
|
|
label = "BOOT";
|
|
fsType = "vfat";
|
|
};
|
|
|
|
boot = {
|
|
lanzaboote = {
|
|
enable = true;
|
|
pkiBundle = "/var/lib/sbctl";
|
|
};
|
|
|
|
loader.efi = {
|
|
canTouchEfiVariables = true;
|
|
efiSysMountPoint = "/boot";
|
|
};
|
|
};
|
|
}
|