diff options
author | sefidel <contact@sefidel.net> | 2023-02-16 15:06:20 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-02-16 15:06:20 +0900 |
commit | 1d5d1e00060e56ed37e41c70bfc61af39937721c (patch) | |
tree | d2ff76be2d6bc2886b5f91f07c9240610614df29 /nixos | |
parent | 927bd07cab5ad31bdd97353b3fce5550cdbbbfaf (diff) | |
download | nixrc-1d5d1e00060e56ed37e41c70bfc61af39937721c.tar.gz nixrc-1d5d1e00060e56ed37e41c70bfc61af39937721c.zip |
feat(nixos/alpha): add Qubes boot entry
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/alpha/configuration.nix | 8 |
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 } |