moved lanzaboote to default modules

This commit is contained in:
kenji
2025-11-24 14:25:36 -06:00
parent 8b6d867659
commit 67adb36f6b
2 changed files with 1 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
# file: configuration.nix
{
pkgs,
lib,
...
}: let
sources = import ./nix/sources.nix;
lanzaboote = import sources.lanzaboote;
in {
imports = [lanzaboote.nixosModules.lanzaboote];
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 = "/var/lib/sbctl";
};
}
+1 -1
View File
@@ -1,6 +1,6 @@
{pkgs, ...}: {
imports = [
# ../../lanzaboote.nix
# ./lanzaboote.nix
];
environment.systemPackages = with pkgs; [
niv