perso-desktop: Configure systemd to use Windows boot
All checks were successful
check / check (push) Successful in 33s

This commit is contained in:
Florian RICHER 2025-01-03 21:23:08 +01:00
parent 4c3db0d50c
commit a50b68be50
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77

View file

@ -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.