From cdc74857a8155c070bc4ab6c0648261926b79a5b Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 16 Dec 2023 09:40:33 +0200 Subject: [configuration] 1 second delay for grub --- configuration.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/configuration.nix b/configuration.nix index ba88560..f82962f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -46,13 +46,16 @@ # boot.loader.efi.efiSysMountPoint = "/boot/efi"; # Use the GRUB 2 boot loader - boot.loader.grub = { - enable = true; - copyKernels = true; - efiSupport = true; - efiInstallAsRemovable = true; - # Define on which hard drive you want to install Grub - device = "nodev"; # or "nodev" for efi only + boot.loader = { + grub = { + enable = true; + copyKernels = true; + efiSupport = true; + efiInstallAsRemovable = true; + # Define on which hard drive you want to install Grub + device = "nodev"; # or "nodev" for efi only + }; + timeout = 1; }; # @@ -87,6 +90,7 @@ # https://nixos.wiki/wiki/Accelerated_Video_Playback hardware.opengl = { + enable = true; extraPackages = with pkgs; [ vaapiVdpau libvdpau-va-gl -- cgit v1.3.1-26-gb76a