{ scope, pkgs, config, ...}: scope "boot" { loader.limine = { enable = true; style = let pal = config.rice.palette.shortHex; in { wallpapers = [ config.rice.bg.src ]; interface = { brandingColor = 1; branding = "welcome to quiver"; }; graphicalTerminal = let getPal = p: builtins.attrValues p |> builtins.concatStringsSep ";"; in { palette = getPal pal.normal; brightPalette = getPal pal.bright; marginGradient = 0; margin = 256; foreground = pal.util.fg; background = "20" + pal.util.bg; brightForeground = pal.bright.yellow; brightBackground = pal.util.bg; }; backdrop = pal.util.bg; }; maxGenerations = 5; }; initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbcore" "sd_mod" ]; initrd.kernelModules = [ ]; initrd.verbose = false; kernelModules = [ "kvm-amd" "i2c-dev" ]; consoleLogLevel = 0; kernelParams = [ "mitigations=off" "preempt=full" "quiet" "loglevel=3" "systemd.show_status=off" "rd.udev.log_level=3" "vt.global_cursor_default=0" ]; supportedFilesystems = { ntfs = true; btrfs = true; }; loader.efi.canTouchEfiVariables = true; plymouth = { enable = true; # theme needs fixing # inherit (config.rice.plymouth) theme themePackages font; }; loader.limine.extraEntries = '' /Windows protocol: efi path: boot():/EFI/Microsoft/Boot/bootmgfw.efi ''; }