chore(nix): switch bootloader to GRUB

- Disabled Systemd-boot and enabled GRUB as the bootloader with OS probing.
- Configured GRUB to use `/dev/vda` as the target installation device.
This commit is contained in:
Harald Hoyer 2025-11-13 16:16:37 +01:00
parent 811457161a
commit babf38d817

View file

@ -1,15 +1,17 @@
{
pkgs,
lib,
config,
...
}:
with lib;
with lib.metacfg;
{
imports = [ ./hardware-configuration.nix ];
boot.kernelPackages = lib.mkOverride 0 pkgs.linuxPackages_latest;
boot.loader.systemd-boot.enable = false;
# Bootloader.
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/vda";
boot.loader.grub.useOSProber = true;
metacfg = {
base.enable = true;