make lanzaboote optional

This commit is contained in:
2025-12-07 20:47:34 -08:00
parent 923f3f0ffc
commit 4c7142dcda
2 changed files with 6 additions and 5 deletions

View File

@@ -11,6 +11,11 @@
"sysrq_always_enabled=1" "sysrq_always_enabled=1"
]; ];
boot.lanzaboote = {
enable = true;
pkiBundle = "/var/lib/sbctl";
};
networking.hostName = "Yura-TPX13"; # Define your hostname. networking.hostName = "Yura-TPX13"; # Define your hostname.
networking.hostId = "8425e349"; # Required for ZFS. networking.hostId = "8425e349"; # Required for ZFS.

View File

@@ -11,11 +11,7 @@
boot.loader = { boot.loader = {
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
timeout = 3; timeout = 3;
systemd-boot.enable = false; systemd-boot.enable = !config.boot.lanzaboote.enable;
};
boot.lanzaboote = {
enable = true;
pkiBundle = "/var/lib/sbctl";
}; };
# https://nixos.wiki/wiki/Accelerated_Video_Playback # https://nixos.wiki/wiki/Accelerated_Video_Playback