flake/nixos/boot/boot.nix

20 lines
431 B
Nix
Raw Normal View History

2023-09-19 00:17:43 +00:00
{ lib, ... }:
{
# NOTE: secureboot enabled in flake.nix
boot = {
consoleLogLevel = lib.mkDefault 3;
loader = {
2023-10-18 09:44:41 +00:00
timeout = 0;
2023-09-19 00:17:43 +00:00
efi.canTouchEfiVariables = true;
systemd-boot = {
2023-10-15 00:51:56 +00:00
enable = lib.mkDefault true; # mkDefault for Lanzaboote
editor = false; # Disabled for security
### Utilities
2023-09-19 00:17:43 +00:00
#netbootxyz.enable = true;
#memtest86.enable = true;
};
};
};
}