about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/alpha/configuration.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 23d4796..5b11de4 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -34,6 +34,14 @@
     useOSProber = true;
     copyKernels = true;
     extraEntries = ''
+      # os-prober cannot detect QubesOS
+      # We don't want to set any complex parameters here,
+      # So load the qubes grub instead.
+      menuentry "Qubes" {
+        search --set=root --fs-uuid C5C1-09F1
+        configfile ($root)/EFI/qubes/grub.cfg
+      }
+
       menuentry "Reboot" {
         reboot
       }