From 8d6a95933f2209f0053fb5998e939b2806f85933 Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Sun, 14 May 2023 13:13:36 +0200 Subject: [PATCH] bin-cache: fix wrong bootloader --- machines/bin-cache/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/machines/bin-cache/default.nix b/machines/bin-cache/default.nix index 4c6d314..734a53f 100644 --- a/machines/bin-cache/default.nix +++ b/machines/bin-cache/default.nix @@ -9,8 +9,10 @@ ../../users/default.nix ]; - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; + + boot.loader.grub.enable = true; + boot.loader.grub.device = "/dev/sda"; + boot.loader.grub.useOSProber = true; networking.hostName = "bin-cache";