summary refs log tree commit diff stats
path: root/system/settings
diff options
context:
space:
mode:
authorAlan Pearce2022-06-16 12:14:01 +0200
committerAlan Pearce2022-06-16 12:14:40 +0200
commit9497d7334faf9716dd23985bd42022f922c87eda (patch)
tree88b82f26f68efe4a9cd541402a6a3fca02005533 /system/settings
parentf74e49f2e2572c3ddba6db33b8dd455a5958276b (diff)
downloadnixfiles-9497d7334faf9716dd23985bd42022f922c87eda.tar.lz
nixfiles-9497d7334faf9716dd23985bd42022f922c87eda.tar.zst
nixfiles-9497d7334faf9716dd23985bd42022f922c87eda.zip
prefect: use UEFI boot loader instead of GRUB's os-prober
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/hardware/grub2.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/settings/hardware/grub2.nix b/system/settings/hardware/grub2.nix
index e0043692..cd1fd619 100644
--- a/system/settings/hardware/grub2.nix
+++ b/system/settings/hardware/grub2.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{ config, pkgs, lib, ... }:
 
 { boot.loader = {
     grub = {
@@ -7,7 +7,7 @@
       version = 2;
       device = "nodev";
       efiSupport = true;
-      useOSProber = true;
+      useOSProber = lib.mkDefault true;
     };
     efi.canTouchEfiVariables = true;
   };