Enable secure boot on kharbranth
This commit is contained in:
parent
412305b4b4
commit
3c9a0d97f6
1 changed files with 9 additions and 3 deletions
|
@ -4,10 +4,11 @@
|
|||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
lanzaboote = {
|
||||
enable = true;
|
||||
pkiBundle = "/etc/secureboot";
|
||||
};
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
initrd = {
|
||||
availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||
kernelModules = [ "i915" ];
|
||||
|
@ -19,6 +20,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
chvp.base.zfs.systemLinks = [{ path = "/etc/secureboot"; type = "cache"; }];
|
||||
|
||||
# For Secure Boot management
|
||||
environment.systemPackages = [ pkgs.sbctl ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "rpool/local/root";
|
||||
fsType = "zfs";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue