update
This commit is contained in:
parent
506b21e430
commit
709db1985b
91 changed files with 251 additions and 212 deletions
35
system/modules/boot.nix
Normal file
35
system/modules/boot.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
# Switched to lanzaboote Secure Boot
|
||||
# boot = {
|
||||
# kernelParams = ["nohibernate" "ipv6.disable=1"];
|
||||
# tmp.cleanOnBoot = true;
|
||||
# supportedFilesystems = ["ntfs"];
|
||||
# loader = {
|
||||
# grub = {
|
||||
# device = "nodev";
|
||||
# efiSupport = true;
|
||||
# enable = true;
|
||||
# useOSProber = true;
|
||||
# timeoutStyle = "menu";
|
||||
# efiInstallAsRemovable = true;
|
||||
# extraConfig = ''
|
||||
# insmod tpm
|
||||
# '';
|
||||
# };
|
||||
# timeout = 300;
|
||||
# };
|
||||
# };
|
||||
|
||||
boot.loader.systemd-boot.enable = lib.mkForce false;
|
||||
|
||||
boot.lanzaboote = {
|
||||
enable = true;
|
||||
pkiBundle = "/etc/secureboot";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
sbctl
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue