From a50b68be502d6aa999d5ad9129ec99f92609f560 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Fri, 3 Jan 2025 21:23:08 +0100 Subject: [PATCH] perso-desktop: Configure systemd to use Windows boot --- hosts/perso-desktop/configuration.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/hosts/perso-desktop/configuration.nix b/hosts/perso-desktop/configuration.nix index 8004100..9cbb6b9 100644 --- a/hosts/perso-desktop/configuration.nix +++ b/hosts/perso-desktop/configuration.nix @@ -14,7 +14,15 @@ ]; # Bootloader. - boot.loader.systemd-boot.enable = true; + boot.loader.systemd-boot = { + enable = true; + windows = { + "11-pro" = { + title = "Windows 11 Pro"; + efiDeviceHandle = "HD1b"; + }; + }; + }; boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "nixos-desktop-perso"; # Define your hostname.