Lots more moves, simplifiactions to options and removed code that peeved me off
This commit is contained in:
parent
2d2c569705
commit
384e510647
25 changed files with 59 additions and 76 deletions
|
@ -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 ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue