1
0
Fork 0
puter/common/boot.nix
2025-05-18 01:08:10 +02:00

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";
};
};
}