From 8273bbf27d4ad47129a5f86fc652cfab907c2fbb Mon Sep 17 00:00:00 2001 From: Veneficium <85629831+veneficium42@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:35:37 +0100 Subject: [PATCH] main-laptop: enable windows 11 dual-boot --- hosts/main-laptop/configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/main-laptop/configuration.nix b/hosts/main-laptop/configuration.nix index 59199de..7f173e0 100644 --- a/hosts/main-laptop/configuration.nix +++ b/hosts/main-laptop/configuration.nix @@ -91,6 +91,13 @@ boot.kernelPackages = pkgs.linuxPackages_latest; boot.loader.systemd-boot.enable = true; + boot.loader.systemd-boot.edk2-uefi-shell.enable = true; + boot.loader.systemd-boot.windows = { + "11" = { + title = "Windows 11 (gaming)"; + efiDeviceHandle = "FS0"; + }; + }; boot.loader.efi.canTouchEfiVariables = true; boot.loader.systemd-boot.configurationLimit = 10;