add lanzaboote for secureboot

This commit is contained in:
Mohamed Chrayed 2024-08-27 17:21:21 +02:00
parent ddd6174dcd
commit abfc4990f4
2 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,10 @@
inputs.home-manager.follows = "home-manager";
};
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
lanzaboote = {
url = "github:nix-community/lanzaboote/v0.4.1";
inputs.nixpkgs.follows = "nixpkgs";
};
};
# Define Outputs, import Modules
outputs =

View File

@ -7,4 +7,8 @@
boot.consoleLogLevel = 0;
boot.kernelParams = [ "quiet" "udev.log_level=0" ];
boot.initrd.verbose = false;
boot.lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
}