From 63953bf7f225c0e50bee2d0ffb7a83272ac9d63f Mon Sep 17 00:00:00 2001 From: eneller Date: Sun, 10 Dec 2023 09:21:45 +0100 Subject: [PATCH] begin dual boot config --- configuration.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/configuration.nix b/configuration.nix index aa1e980..4ff900a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -17,8 +17,20 @@ enable = true; device = "/dev/nvme1n1"; useOSProber = true; # TODO dual boot with Windows + # timeoutStyle = "menu"; + extraEntries = '' + menuentry "Windows 11" { + insmod part_gpt + insmod fat + insmod search_fs_uuid + insmod chain + search --no-floppy --set=root --fs-uuid B879-5057 + ntldr /EFI/Microsoft/Boot/bootmgfw.efi + } + ''; }; + networking.hostName = "nixos"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.