machine(Tytonidae): Enable secure boot
This commit is contained in:
parent
2300f302af
commit
92ec57e83f
3 changed files with 243 additions and 48 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue