1
0
Fork 0
puter/common/boot.nix

25 lines
431 B
Nix
Raw Normal View History

2025-05-18 01:08:10 +02:00
{config, inputs, ...}: {
imports = [
inputs.lanzaboote.nixosModules.lanzaboote
];
2025-05-11 22:49:04 +02:00
fileSystems.${config.boot.loader.efi.efiSysMountPoint} = {
2025-03-01 22:21:00 +01:00
label = "BOOT";
fsType = "vfat";
};
2024-02-04 21:51:11 +01:00
boot = {
2025-05-18 01:08:10 +02:00
lanzaboote = {
enable = true;
pkiBundle = "/var/lib/sbctl";
2024-02-04 21:51:11 +01:00
};
2025-05-11 22:49:04 +02:00
2025-05-18 04:04:45 +02:00
initrd.systemd.enable = true;
2025-05-18 01:08:10 +02:00
loader.efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
2025-05-11 22:49:04 +02:00
};
2024-02-04 21:51:11 +01:00
};
}