summary refs log tree commit diff stats
path: root/system/prefect.nix
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/prefect.nix
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/prefect.nix')
-rw-r--r--system/prefect.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index 122411b2..186c5b97 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -42,8 +42,7 @@
     Option "AllowIndirectGLXProtocol" "off"
     Option "TripleBuffer" "on"
   '';
-  boot.loader.timeout = 3;
-  boot.loader.grub.default = 2; # Default to Windows
+  boot.loader.grub.useOSProber = false;
 
   boot.kernelPackages = pkgs.linuxPackages_zen;
   boot.extraModulePackages = with config.boot.kernelPackages; [