~ruther/nixos-config

6c1624e26d0fa405ad39c8f2f6a6b0c1a3e4cb86 — Frantisek Bohacek 1 year, 5 months ago c74171a
feat: add windows 10 entry to systemd boot
1 files changed, 7 insertions(+), 0 deletions(-)

M hosts/desktop/default.nix
M hosts/desktop/default.nix => hosts/desktop/default.nix +7 -0
@@ 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

Do not follow this link