2023-11-04 16:12:45 +05:30
|
|
|
{ lib
|
|
|
|
, pkgs
|
|
|
|
, ...
|
2023-05-18 16:11:26 +05:30
|
|
|
}: {
|
2024-06-20 19:41:06 +05:30
|
|
|
environment.etc."secureboot" = {
|
|
|
|
mode = "symlink";
|
|
|
|
source = "/persist/secrets/secureboot";
|
|
|
|
};
|
2023-10-02 17:23:23 +05:30
|
|
|
boot = {
|
|
|
|
bootspec.enable = true;
|
|
|
|
loader.systemd-boot.enable = lib.mkForce false;
|
|
|
|
lanzaboote = {
|
|
|
|
enable = true;
|
2024-06-20 19:41:06 +05:30
|
|
|
pkiBundle = "/persist/secrets/secureboot";
|
2023-10-02 17:23:23 +05:30
|
|
|
};
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
sbctl
|
|
|
|
];
|
|
|
|
}
|