From 1d5d1e00060e56ed37e41c70bfc61af39937721c Mon Sep 17 00:00:00 2001 From: sefidel Date: Thu, 16 Feb 2023 15:06:20 +0900 Subject: feat(nixos/alpha): add Qubes boot entry --- nixos/alpha/configuration.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nixos/alpha') 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 } -- cgit 1.4.1