feat: secure boot
This commit is contained in:
parent
0d86e300e5
commit
6e86a1eb28
5 changed files with 196 additions and 8 deletions
12
system/modules/secure-boot.nix
Normal file
12
system/modules/secure-boot.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
sbctl
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = lib.mkForce false;
|
||||
boot.lanzaboote = {
|
||||
enable = true;
|
||||
pkiBundle = "/var/lib/sbctl/";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue