add boot option for windows 11

This commit is contained in:
lucy 2026-09-01 20:20:50 +02:00
commit 360e886271
2 changed files with 10 additions and 0 deletions

View file

@ -1,4 +1,5 @@
{ {
lib,
config, config,
inputs, inputs,
pkgs, pkgs,

View file

@ -11,6 +11,15 @@
./hardware-configuration.nix ./hardware-configuration.nix
../base/configuration.nix ../base/configuration.nix
]; ];
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.loader.limine.enable = true;
boot.loader.limine.secureBoot.enable = true;
boot.loader.limine.extraEntries = ''
/Windows 11
protocol: efi
path: guid(c0016650-4bd8-4677-88cd-8eed4c897f03):/EFI/Microsoft/Boot/bootmgfw.efi
'';
networking.hostName = "nerv"; networking.hostName = "nerv";
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = { hardware.nvidia = {