about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-16 15:06:20 +0900
committersefidel <contact@sefidel.net>2023-02-16 15:06:20 +0900
commit1d5d1e00060e56ed37e41c70bfc61af39937721c (patch)
treed2ff76be2d6bc2886b5f91f07c9240610614df29 /nixos
parent927bd07cab5ad31bdd97353b3fce5550cdbbbfaf (diff)
downloadnixrc-1d5d1e00060e56ed37e41c70bfc61af39937721c.tar.gz
nixrc-1d5d1e00060e56ed37e41c70bfc61af39937721c.zip
feat(nixos/alpha): add Qubes boot entry
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
       }