39 lines
1.2 KiB
Nix
39 lines
1.2 KiB
Nix
{pkgs, ...}: {
|
|
# Disable systemd boot to enable Grub
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
# Copied from default configuration file
|
|
boot.initrd.luks.devices."luks-9b26825f-f463-4199-830b-7176055d5fe2".device = "/dev/disk/by-uuid/9b26825f-f463-4199-830b-7176055d5fe2";
|
|
|
|
# GRUB and MC theme disabled due to an issue - "nixos.png not found"
|
|
# Enable Grub and set required parameters to make system bootable
|
|
boot.loader.grub = {
|
|
enable = false;
|
|
# efiSupport = true;
|
|
# device = "nodev";
|
|
#
|
|
# # This does not work for some reason
|
|
# gfxmodeEfi = "1920x1080";
|
|
# gfxmodeBios = "1920x1080";
|
|
#
|
|
# # Enable the Minecraft world selection screen theme
|
|
# minegrub-world-sel = {
|
|
# enable = true;
|
|
# customIcons = [
|
|
# {
|
|
# name = "nixos";
|
|
# lineTop = "NixOS Vicuna (24/11/2024, 1:23)";
|
|
# lineBottom = "Survival Mode, No Cheats, Version: 24.11";
|
|
# # Icon: you can use an icon from the remote repo, or load from a local file
|
|
# imgName = "nixLogo";
|
|
# customImg = builtins.path {
|
|
# path = ./nixLogo.png;
|
|
# name = "nixLogo";
|
|
# };
|
|
# }
|
|
# ];
|
|
# };
|
|
};
|
|
}
|