Set up secure boot for framework and new SSD

This commit is contained in:
Natsu Kagami 2024-01-19 13:13:47 +01:00
parent 25ab9e9b70
commit 62c14ffd0d
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 18 additions and 12 deletions

View file

@ -183,14 +183,14 @@
system = "x86_64-linux";
modules = [
(common-nixos nixpkgs)
# inputs.lanzaboote.nixosModules.lanzaboote
inputs.lanzaboote.nixosModules.lanzaboote
({ ... }: {
# Sets up secure boot
# boot.loader.systemd-boot.enable = lib.mkForce false;
# boot.lanzaboote = {
# enable = true;
# pkiBundle = "/etc/secureboot";
# };
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
};
})
./nki-framework/configuration.nix
home-manager.nixosModules.home-manager