Add initial grub

This commit is contained in:
Bun 2025-03-24 01:08:29 -04:00
parent dcfa900a6b
commit ba2f7bab45
2 changed files with 12 additions and 0 deletions

View file

@ -2,6 +2,7 @@
{
imports = [
./extlinux
./grub
./lanzaboote
./plymouth
./services

View file

@ -0,0 +1,11 @@
{ config, lib, ... }:
{
boot.loader = lib.mkIf config.boot.loader.grub.enable {
grub = {
efiSupport = true;
efiInstallAsRemovable = true;
device = "nodev";
};
efi.canTouchEfiVariables = false;
};
}