From a5fa2f1e63efc1111940bf2c636e4043381886cd Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Thu, 18 Dec 2025 17:43:51 -0600 Subject: [PATCH] make grub default device only --- flakes/common/nix_modules/boot_grub.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flakes/common/nix_modules/boot_grub.nix b/flakes/common/nix_modules/boot_grub.nix index 60433506..85b380bc 100644 --- a/flakes/common/nix_modules/boot_grub.nix +++ b/flakes/common/nix_modules/boot_grub.nix @@ -1,10 +1,11 @@ { + lib, ... }: { boot.loader.grub = { enable = true; - device = "/dev/sda"; + device = lib.mkDefault "/dev/sda"; }; }