2023-07-12 16:43:21 +02:00
|
|
|
{ lib, config, pkgs, ...}: {
|
2023-09-21 15:22:59 +02:00
|
|
|
|
2023-09-22 11:50:46 +02:00
|
|
|
imports = [ ./boot.nix ];
|
2023-11-26 12:29:58 +01:00
|
|
|
|
2023-09-21 15:22:59 +02:00
|
|
|
# SecureBoot
|
|
|
|
boot.loader.systemd-boot.enable = lib.mkForce false;
|
2023-07-12 13:52:15 +02:00
|
|
|
boot.lanzaboote.enable = true;
|
|
|
|
boot.lanzaboote.pkiBundle = "/etc/secureboot";
|
2023-09-21 14:51:42 +02:00
|
|
|
|
2023-09-21 15:22:59 +02:00
|
|
|
# Bootloader
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
boot.tmp.cleanOnBoot = true;
|
|
|
|
boot.initrd.systemd.enable = true;
|
2023-07-12 13:52:15 +02:00
|
|
|
}
|