From 360e886271e75c5e5e3d0ea87fd5234be2efbf4e Mon Sep 17 00:00:00 2001 From: lucy Date: Tue, 1 Sep 2026 20:20:50 +0200 Subject: [PATCH] add boot option for windows 11 --- modules/hosts/base/configuration.nix | 1 + modules/hosts/nerv/configuration.nix | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/modules/hosts/base/configuration.nix b/modules/hosts/base/configuration.nix index f2a81b0..481b1af 100644 --- a/modules/hosts/base/configuration.nix +++ b/modules/hosts/base/configuration.nix @@ -1,4 +1,5 @@ { + lib, config, inputs, pkgs, diff --git a/modules/hosts/nerv/configuration.nix b/modules/hosts/nerv/configuration.nix index 543a5d1..830bd14 100644 --- a/modules/hosts/nerv/configuration.nix +++ b/modules/hosts/nerv/configuration.nix @@ -11,6 +11,15 @@ ./hardware-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"; services.xserver.videoDrivers = [ "nvidia" ]; hardware.nvidia = {