From babf38d8171f9ee7ca66bd83bd78acb2411fd99e Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 13 Nov 2025 16:16:37 +0100 Subject: [PATCH] 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. --- systems/x86_64-linux/nixtee1/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/systems/x86_64-linux/nixtee1/default.nix b/systems/x86_64-linux/nixtee1/default.nix index 25d8cb4..e376b36 100644 --- a/systems/x86_64-linux/nixtee1/default.nix +++ b/systems/x86_64-linux/nixtee1/default.nix @@ -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;