refactor: engage super ultra abstraction for multi-architecture

temp

temp
This commit is contained in:
Youwen Wu 2024-08-07 06:05:42 -07:00
parent cde45f87fd
commit 098cbdd9f1
26 changed files with 356 additions and 332 deletions

View file

@ -0,0 +1,17 @@
({ pkgs, lib, ... }: {
environment.systemPackages = [
# For debugging and troubleshooting Secure Boot.
pkgs.sbctl
];
# Lanzaboote currently replaces the systemd-boot module.
# This setting is usually set to true in configuration.nix
# generated at installation time. So we force it to false
# for now.
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
})