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") ];
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
loader = {
|
lanzaboote = {
|
||||||
systemd-boot.enable = true;
|
enable = true;
|
||||||
efi.canTouchEfiVariables = true;
|
pkiBundle = "/etc/secureboot";
|
||||||
};
|
};
|
||||||
|
loader.efi.canTouchEfiVariables = true;
|
||||||
initrd = {
|
initrd = {
|
||||||
availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||||
kernelModules = [ "i915" ];
|
kernelModules = [ "i915" ];
|
||||||
|
@ -19,6 +20,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
chvp.base.zfs.systemLinks = [{ path = "/etc/secureboot"; type = "cache"; }];
|
||||||
|
|
||||||
|
# For Secure Boot management
|
||||||
|
environment.systemPackages = [ pkgs.sbctl ];
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "rpool/local/root";
|
device = "rpool/local/root";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue