mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Switch to grub, chainload Kubuntu's grub menu
This commit is contained in:
parent
7292d10cd6
commit
569d1eb231
1 changed files with 19 additions and 2 deletions
|
|
@ -12,8 +12,25 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader = {
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
grub = {
|
||||||
|
device = "nodev";
|
||||||
|
enable = true;
|
||||||
|
useOSProber = true;
|
||||||
|
efiSupport = true;
|
||||||
|
# set $FS_UUID to the UUID of the EFI partition
|
||||||
|
extraEntries = ''
|
||||||
|
menuentry "Kubuntu" {
|
||||||
|
insmod part_gpt
|
||||||
|
insmod fat
|
||||||
|
insmod chain
|
||||||
|
search --no-floppy --fs-uuid --set=root B208-923B
|
||||||
|
chainloader /EFI/ubuntu/grubx64.efi
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
efi.canTouchEfiVariables = true;
|
||||||
|
};
|
||||||
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue