forked from nico/dots
nix: add lanzaboote
This commit is contained in:
parent
27b763939b
commit
3259c38d75
3 changed files with 229 additions and 1 deletions
14
modules/secureboot.nix
Normal file
14
modules/secureboot.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
sbctl
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = lib.mkForce false;
|
||||
|
||||
boot.lanzaboote = {
|
||||
enable = true;
|
||||
pkiBundle = "/etc/secureboot";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue