1
0
Fork 0
puter/common/boot.nix
2025-05-18 04:04:45 +02:00

24 lines
431 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";
};
initrd.systemd.enable = true;
loader.efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
};
}