machine(Tytonidae): Enable secure boot

This commit is contained in:
ulic-youthlic 2025-07-21 20:06:01 +08:00
parent 2300f302af
commit 92ec57e83f
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
3 changed files with 243 additions and 48 deletions

View file

@ -17,6 +17,7 @@
++ (with outputs; [
nixosModules.gui
])
++ [inputs.lanzaboote.nixosModules.lanzaboote]
++ (lib.youthlic.loadImports ./.);
youthlic = {
@ -90,6 +91,8 @@
waypipe
wineWow64Packages.waylandFull
iperf3
sbctl
];
environment.variables.EDITOR = "hx";
@ -102,8 +105,14 @@
boot = {
kernelPackages = pkgs.linuxPackages_cachyos;
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
lanzaboote = {
enable = true;
pkiBundle = "/var/lib/sbctl";
};
loader = {
systemd-boot.enable = lib.mkForce false;
efi.canTouchEfiVariables = true;
};
initrd.systemd.enable = true;
};