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"; }; }