revamp of structure
This commit is contained in:
parent
275586f9c2
commit
b5365e6ab3
26 changed files with 383 additions and 393 deletions
20
modules/boot/secure-boot.nix
Normal file
20
modules/boot/secure-boot.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ lib, pkgs, inputs, ... }:
|
||||
{
|
||||
inputs = [
|
||||
inputs.lanzaboote.nixosModules.lanzaboote
|
||||
];
|
||||
|
||||
environment.systemPackages = [ pkgs.sbctl ];
|
||||
boot.loader.systemd-boot.enable = lib.mkForce false;
|
||||
|
||||
boot.lanzaboote = {
|
||||
enable = true;
|
||||
pkiBundle = "/var/lib/sbctl";
|
||||
autoGenerateKeys.enable = true;
|
||||
autoEnrollKeys = {
|
||||
enable = true;
|
||||
autoReboot = true;
|
||||
};
|
||||
configurationLimit = 5;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue