From 6c1624e26d0fa405ad39c8f2f6a6b0c1a3e4cb86 Mon Sep 17 00:00:00 2001 From: Frantisek Bohacek Date: Thu, 12 Oct 2023 21:49:48 +0200 Subject: [PATCH] feat: add windows 10 entry to systemd boot --- hosts/desktop/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index 0812903..00dbd81 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -44,6 +44,13 @@ enable = true; configurationLimit = 5; # Limit the amount of configurations editor = false; # Better security, disallows passing /bin/sh to start as root + + extraEntries = { + "Windows.conf" = '' + title "Windows 10" + efi /EFI/Microsoft/Boot/bootmgfw.efi + ''; + }; }; efi.canTouchEfiVariables = true; timeout = 1; # Grub auto select time -- 2.48.1