28 lines
No EOL
630 B
Nix
28 lines
No EOL
630 B
Nix
{ inputs, lib, pkgs, ... }:
|
|
|
|
{
|
|
boot = {
|
|
loader = {
|
|
efi.canTouchEfiVariables = true;
|
|
grub.enable = lib.mkForce false;
|
|
systemd-boot.enable = lib.mkForce false;
|
|
limine = {
|
|
enable = true;
|
|
resolution = "3840x1080";
|
|
maxGenerations = 11;
|
|
secureBoot = {
|
|
enable = true;
|
|
autoGenerateKeys = true;
|
|
autoEnrollKeys.enable = true;
|
|
};
|
|
extraEntries = ''
|
|
/Windows
|
|
protocol: efi
|
|
path: boot():/EFI/Microsoft/Boot/bootmgfw.efi
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = [ pkgs.sbctl ];
|
|
} |