dotfiles/nixos/systems/omen/grub.nix

33 lines
486 B
Nix
Raw Normal View History

{
pkgs,
lib,
inputs',
...
}: {
imports = [
inputs'.self.nixosModules.netboot-xyz
];
boot.netboot-xyz = {
grub.efi = {};
enable = true;
};
boot.loader = {
systemd-boot.enable = false;
efi.canTouchEfiVariables = true;
grub = {
enable = true;
efiSupport = true;
mirroredBoots = [
{
devices = ["nodev"];
path = "/boot/1";
efiSysMountPoint = "/boot/1/EFI";
}
];
};
};
}