Lots more moves, simplifiactions to options and removed code that peeved me off

This commit is contained in:
Bun 2025-03-18 09:02:34 -04:00
parent 2d2c569705
commit 384e510647
25 changed files with 59 additions and 76 deletions

View file

@ -2,16 +2,10 @@
{
imports = [ lanzaboote.nixosModules.lanzaboote ];
options.system.lanzaboote.enable = lib.mkEnableOption "Enable lanzaboote";
config = lib.mkIf config.system.lanzaboote.enable {
boot = {
loader.systemd-boot.enable = lib.mkForce false;
lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
};
environment.systemPackages = with pkgs; [ sbctl ];
boot = lib.mkIf config.boot.lanzaboote.enable {
loader.systemd-boot.enable = lib.mkForce false;
lanzaboote.pkiBundle = "/etc/secureboot";
};
environment.systemPackages = with pkgs; [ sbctl ];
}